Returns specified text repeated a number of times. Learn more
In Google Sheets, the REPT function is used to repeat a specific text a certain number of times. The syntax for the REPT function is as follows:
REPT(texttorepeat, numberofrepetitions)
texttorepeat: This is the text that you want to repeat.
numberofrepetitions: This is the number of times you want to repeat the text.
For example, if you have the following formula in a cell:
=REPT("Hello", 3)
The cell will display the text "HelloHelloHello" because the word "Hello" is repeated three times.
You can use the REPT function in various ways, such as creating patterns, generating filler characters, or duplicating strings.
It can be helpful when you need to repeat a specific text multiple times within a spreadsheet.