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:
Duplicate Data Identifier is an MS Access based tool which helps to identify duplicates from any Excel based data. The tool supports up to 10 conditions and 25 types of matching conditions to find the exact duplicate. You can also define formatting conditions to first format the data before checking for duplicates.
Undo in excel very useful If you’re new to Excel or even if you’ve been using it for a while, you’ve probably made a mistake on a spreadsheet. Mistakes happen a lot, especially when working…
RAND AND RANDBETWEEN FUNCTION We have got many instances where we needed to generate a random database or values. “RAND function” is very useful for users who creates random database for various types of working…
Group worksheets in Excel makes it easier to manage a big workbook. This feature allows you to treat multiple worksheets as one, helping you perform identical tasks like formatting or data entry across several sheets…
SMALL function is used to get the Smallest k-th value from the range.
SMALL Function has two required arguments i.e. array, and k
What is Pareto Chart? Pareto principle was introduced by Italian Economist Vilfredo Pareto. He stated that 80% of the effects are caused by 20% of the causes. So if we closely monitor and solve 20% of…