EXCEL REPT FUNCTION

This method iterates over a text a specified number of times.

Syntax:

=REPT (text, number_times)

Parameter list:

  • text – the text that will be repeated.
  • number times – the number of times the text should be repeated.

Step By Step Guide of REPT Function

Example :

  • #VALUE! Error – Occurs when the result of the REPT function exceeds 32,767 characters.
  • Number times is trimmed if it is not an integer.
  • REPT –  returns “” if number times is 0 (zero) (empty text).

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now