[]
        
(Showing Draft Content)

REPT

This function repeats text a specified number of times.

Syntax

REPT(text, number)

Arguments

This function has these arguments:

Argument

Description

text

[Required] Text you want to repeat

number

[Required] Number of times you want to repeat the text; if not an integer, the number is truncated; if zero (0), returns empty (" ")

Remarks

The result of this function must be less than or equal to 32,767 characters.

Examples

REPT(D9, 2)

REPT(R9C4, 2)

REPT("*4", 3) gives the result *4*4*4