Google Sheets supports the same REPT function as Excel, but the formula gets really powerful when you combine it with ARRAYFORMULA.
Same syntax as Excel:
=REPT(text, number_times)
Example: =REPT("Yes! ", 3) returns Yes! Yes! Yes! . Output is one cell with the repeated text.
This is where Google Sheets pulls ahead of Excel. If you have a column of words and another column of counts:
=ARRAYFORMULA(REPT(A2:A10, B2:B10))
This runs REPT for every row in the range, generating a column of repeated strings without dragging the formula down.
Same trick as Excel — useful for quick dashboards:
=REPT("█", A2)
If A2 is 7, you get ███████. Combined with conditional formatting, this makes mini bar charts directly inside cells.
If you want N separate rows of the same text (not one cell with everything), combine REPT with SPLIT:
=TRANSPOSE(SPLIT(REPT("apple,", 5), ","))
This gives you a column of 5 cells each containing "apple". Useful for generating test data quickly.
Sheets REPT is perfect for in-spreadsheet workflows. For one-off generation (a long string to paste somewhere else, test data for a form, a WhatsApp message), our online repeater is faster — no need to open a spreadsheet, just type and copy.
The function name itself can be lowercase or uppercase. The text argument preserves whatever case you give it.
Yes — =REPT("🎉", 10) works fine. Emojis are just Unicode characters.
Google Sheets cells can hold up to 50,000 characters. REPT will fail if the result exceeds that.
Three ways to repeat text in Microsoft Word: paste-special method, Quick Parts AutoText, a...
Standard Notepad has no repeat function, but Notepad++ does it with macros. Step-by-step g...
How to use a text repeater for harmless WhatsApp pranks — birthday message walls, group ch...