REPT
Repeat a string a specified number of times.
Syntax
=REPT(text, number_times)Worked example
Create a four-character separator.
=REPT("=",4)Result ====
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceHow to use REPT Function🔥 in Excel! #excel
Practice REPT
Create a four-character separator.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=REPT(B2,B3) Lesson quiz
Answer three questions to see your level in this lesson.
