REPT Function
The REPT function is one of the text and data functions. Is used to repeat the data in the selected cell as many time as you wish.
The REPT function syntax is:
REPT(text, number_of_times)
where
text is data to be repeated.
number_of_times is a number of times you wish to repeat the data you entered.
The values can be entered manually or included into the cell you make reference to.
To apply the REPT function,
- select the cell where you wish to display the result,
- click the Insert function icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click the icon situated at the formula bar, - select the Text and data function group from the list,
- click the REPT function,
- enter the required arguments separating them by comma,
- press the Enter button.
The result will be displayed in the selected cell.