Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=REPT("|",A2)Computed by a real spreadsheet engine on the sample data below.
| Value | Bar |
| 5 | |
| 8 | |
| 3 |
=REPT("|",A2)→|||||
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.
Divide by a scaling factor: =REPT("|",ROUND(A2/MAX($A$2:$A$10)*20,0)) makes the longest bar exactly 20 characters.
Yes — if your value is a percentage (0–1), use =REPT("█",ROUND(A2*20,0))&REPT("░",ROUND((1-A2)*20,0)) for a filled+empty bar.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: