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:
“NETWORKDAYS” function is very helpful feature in the Microsoft excel to calculate the working days from a particular period excluding “Saturday and Sundays”. NETWORKDAYS function subtract the Start Day from the End Date provided.
Microsoft Excel “NOW” function is used to get the current Date and Time. It is very useful function and can be used in many ways.
You must have faced a condition when your data cells contain extra spaces, leading spaces or trailing spaces and you wanted to remove these extra spaces to standardize the data. So here you may use…
MOD function is used to get the remainder of number that is divided by divisor. MOD Function has two required arguments i.e. number and divisor.
SUMIFS function is used to get the “total sum” of values for matching criteria across range. SUMIFS Function has required and optional arguments
How to use Excel Function PROPER? PROPER function is used for changing the format of any text or string to PROPER or SENTENCE Case. PROPER Function has argument only one argument i.e. text, which makes the function…