August 2000
Beginner to intermediate
608 pages
17h 15m
English
REPT
Use REPT to repeat text the indicated number of times within a cell.
=REPT(Text,Number_Times)
Both arguments are required for this function.
Number_Times
Specifies a positive number between 0 and 32,767 that indicates the number of times to repeat the text within the cell. If the value is the function returns an empty cell. If the value is not an integer the value is truncated.
Figure 18-6 illustrates how to use REPT to repeat a string of characters within a cell. You will notice that the string is pasted as is so that the end of the first string is merged with the second string. If you want spacing at the end or beginning, make sure you insert it appropriately.
Read now
Unlock full access