REPT function is used to repeat the text or cell reference to multiple times. The function has two “Required” arguments i.e. text and number_times
=REPT(text,number_times)
Here we have some examples, where “Column A” has various values, “Column B” represents the number of times value should be repeated and “Column C” shows the output of the function. Explanation is also provided for your reference:
We will be using REPT function as follows:
– Spaces available in a string is counted as characters
– If number_times argument has “0”(Zero) value, it will show output as “Blank/Empty text”
– Value in number_times argument should NOT be “Negative value or Text” otherwise output will return with error
– Function should give output in “General” format, however, if the output is not as per the desired format then we need to change the cell format to “GENERAL”.
Hope you learnt this Function,
Don’t forget to leave your valuable comments!
If you liked this article and want to learn more similar tricks, please Subscribe us or follow us on Social Media by clicking below buttons:
Unhide Cells in Excel means you’ve probably hidden a row, column, or worksheet before to focus on important data. But what if you need to see those hidden parts again? Don’t worry—Excel makes it easy…
Watch Video: Rand and Randbetween Excel Functions Generate Random Numbers using Excel Functions We have got many instances where we needed to generate a random database or values. “RAND function” is very useful for users…
The only thing worse than wrong data in your spreadsheet is Empty Cells. If these blanks aren’t filled, they can cause problems when using formulas. I usually fill these empty cells with 0 or “NA”…
How to Insert Symbol in Excel? Have you ever faced the challenge of using special character symbols in number formatting or customized number formatting? It is easy to insert any symbol in numbers i.e Delta…
The Article of DATEVALUE explains how to use Excel functions to change text into dates and numbers into dates. It also shows how to convert text strings into dates without using formulas. You’ll also learn…
LEFT function is used for extracting the “Left Most” characters from the available string. The output of the function returns the extracted characters in new cell