Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=REPT("★", MIN(5, MAX(0, ROUND(A2, 0)))) & REPT("☆", 5 - MIN(5, MAX(0, ROUND(A2, 0))))Computed by a real spreadsheet engine on the sample data below.
| Rating | Stars |
| 4.7 | |
| 2.3 | |
| 5 | |
| 0 | |
| 3.5 |
=REPT("★", MIN(5, MAX(0, ROUND(A2, 0)))) & REPT("☆", 5 - MIN(5, MAX(0, ROUND(A2, 0))))→★★★★★
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
No, this method uses whole stars. For half-star ratings, you would need a more complex formula or a different approach.
The ROUND function in the formula rounds the rating to the nearest integer. You can change it to FLOOR or CEILING if you prefer to always round down or up.
Excel does not support colored text in formulas directly. In Google Sheets, you can manually format the text after applying the formula.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: