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:
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.
How to Create a Pivot Table? Pivot Tables in excel is backbone of data analysis in excel. If you want to perform various analysis in excel, then I would suggest, learn this amazing excel feature…
AVERAGEIF function is used to get the “average” of values for matching criteria across range. Average = Sum of all values / number of items.
Introduction Welcome to this comprehensive guide on using Power Query in Excel to split data efficiently. In this tutorial, we’ll walk you through the step-by-step process of splitting columns, specifically focusing on splitting the name…
An ultimate guide for basic user to understand Excel Vlookup function. VLOOKUP is a vertical lookup which helps the user to extract the values from other columns (leftmost) basis on matching column string.
If you want to print your Excel spreadsheets with gridlines, this guide is for you. Adding gridlines makes your data easier to read and gives your spreadsheet a clean, organized look. In this post, we’ll…