Excel Rept Function

This post will guide you how to use Excel REPT function with syntax and examples in Microsoft excel.

Table of Contents

Description

The Excel REPT function repeats a text string a specified number of times.

The REPT function is a build-in function in Microsoft Excel and it is categorized as a Text Function.

The REPT function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac.

Syntax

The syntax of the REPT function is as below:

= REPT  (text, number_times)

Where the REPT function arguments are:
Text -This is a required argument. The text string that you want to repeat.
Number_times – This is an required argument.  The number of times that you want to repeat
Note: If number_times is zero, the REPT function will return empty text. And If number_times value is not an integer, it is truncated to an integer value.

Example

The below examples will show you how to use Excel REPT Text function to repeat a text string a given number of times.

#1 To repeat a text string in B1 cell 3 times, just using the following formula:= REPT (B1,3).

excel text function rept example1

Related Posts

Repeating Character n Times in Excel

In daily life, we can use repeated characters to indicate the magnitude or priority of something. For example, a single “!” indicates a minor case, double “!!” indicates a medium case, and triple “!!!” indicates a high case, and so ...

Extract Multiple Lines From A Cell

Suppose that you have listed some text in a single cell which is separated by the line break(you can do it by pressing ALT + ENTER after entering the text), and now you want to extract multiple lines of text ...

How to Count Number of Cells that Contain Exactly N Characters in Excel

This post will guide you how to count the number of cells that contain exactly N charcters within a range of cells using a formula in Excel 2013/2016.You can easily to count cells equal to a specific value or text ...

Extract Email Address from Text

This post will guide you how to extract email address from a text string in Excel. How do I use a formula to extract email address in Excel. How to extract email address from text string with VBA Macro in ...

Reverse Concatenate Formula in Excel

This post will guide youw how to reverse the concatenate function in Excel. how do I split the text string into the muliptle cells with a formula in Excel. How to split text data of a cell to multiple cells ...

Comments

So empty here ... leave a comment!

Leave a Reply

Sidebar