Repeat String (REPT)

Syntax: REPT(Text; Repetitions)

The REPT function creates a string that consists of a given string (text) repeated (n) number of times. For example:

=REPT("Open"; 4)

returns OpenOpenOpenOpen.

images

Figure 11-6. Sample results of the REPT function

Get Beginning OpenOffice Calc: From Setting Up Simple Spreadsheets to Business Forecasting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.