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:
TEXT function is used to change the formatting or appearances of the text. There are various types of formatting available.
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”…
Understand the basic Different between Excel Online vs Excel Desktop. Excel Online is like a simpler version of Excel that you can use in your web browser. It has most of the important features you need, but it doesn’t have advanced things like macros. This article dives into the differences between Excel Online and the excel Desktop version to help you understand what each one is good at and where they fall short.
WEEKDAY function applies to a Date and returns the output for Day of the week. The output of the function varies from 0 to 7
Microsoft Excel “HOUR, MINUTE, SECOND Functions” are time related functions helps to extract the Hour, Minute or Second from a complete Time.
Introduction In this article, we will learn about joining multiple excel tables with Power Query. Consider a situation where you have employee data in two sheets of an Excel file. In the first sheet you…