logo
excelfunctions.org
bookmarks

REPT

Repeats text a given number of times.

TextText CleaningText Processing

What it does

Repeats a string N times.

Syntax

REPT(text, number_times)

Arguments

  • text(text) β€” String.
  • number_times(number) β€” Count.

Examples

In-cell Bar

Repeat '|' 5 times.

FORMULA
=REPT("|", 5)
RESULT
|||||
SAMPLE DATA
A
1Val
25