# REPT Function in Google Sheets: Explained

## What is the REPT function in Google Sheets?

The REPT formula allows you to repeat a particular text string a specified number of times. For instance, the REPT function is beneficial when you want to repeat a specific sign, such as a star, to visualize scores in a list.

## How to use the REPT formula in Google Sheets

1. Type “=REPT” or go to “Insert”“Function” (or directly navigate to the “Functions” icon)  “Text”“REPT”.
2. Input text to repeat by manual input or cell reference and define the number of repetitions.
3. Press the “Enter” key.

The generic formula is as follows:

``=REPT(text_to_repeat, number_of_repetitions)``

Text_to_repeat: A string to be repeated

Number_of_repetitions: This determines how many times the formula repeats the selected text

Note 1:  You need to enclose the text string with quotation marks when you input a text line in the argument manually.

Note 2: The REPT function doesn’t provide any whitespace between the repeated words unless whitespace(s) is included in the selected text string. If you need to trim extra spaces from the original texts, you can use the TRIM function or Google Sheets’ data cleaning feature. To learn them, check this article: How to Trim Whitespaces in Google Sheets.

Look at the examples in the following picture to better understand how the REPT function works in Google Sheets. Assume you want to visualize each customer’s rank by a special symbol, such as a star mark.

The syntax of the formula in cell D3 is as follows:

Text_to_repeat: CHAR(11088)

Number_of_repetitions: C3 (=3)

In this sample formula, a star symbol is chosen text to be repeated. As the formula refers to cell C3 containing 3, it repeats the star symbol three times in a cell. The CHAR function is a formula used to call a special symbol, text, or Emoji from the Unicode table. If you are interested in learning the CHAR function, check this article: CHAR Function in Google Sheets: Explained. Also,

## How do I apply the same function to multiple cells in Google Sheets?

You can copy a formula in a cell and paste it on the other cells. You can also use Google Sheets’ auto-completion function. To learn the function, navigate to this article: Autofill Function in Google Sheets: Explained

## What are the other tips or formulas on text in Google Sheets?

Check the following articles if you are interested in formatting text in cells.
How to Make Text Bold, Italic, and Strikethrough in Google Sheets
How to Align Text in Google Sheets
How to Wrap Text in Cell in Google Sheets
How to Rotate Text in Google Sheets
How to Change Default Font in Google Sheets
How to Indent Texts in Google Sheets: Explained
How to Capitalize the First Letter in Google Sheets
How to Capitalize All Letters in Google Sheets
How to Make All Letters Lowercase in Google Sheets
TEXT Function in Google Sheets: Explained

Do you want to learn how to combine or split text in Google Sheets?
How to Combine Texts in Google Sheets
CONCAT Function in Google Sheets: Explained
How to Use the CONCATENATE function in Google Sheets
How to Split Texts into Columns in Google Sheets
How to Use SPLIT Function in Google Sheets
CHAR Function in Google Sheets: Explained

Do you want to know where a specify character or word is in a text string?
LEFT Function in Google Sheets: Explained
How to Use RIGHT Function in Google Sheets
SEARCH Function in Google Sheets: Explained
FIND Function in Google Sheets: Explained

Do you need to replace a part of text with another characters or words?
How to Use REPLACE Function in Google Sheets
SUBSTITUTE Function in Google Sheets: Explained

Do you like to show a formulae in a cell?
How to Use FORMULATEXT Function in Google Sheets

This function is useful when you need to count the number of characters in a text string.
LEN Function in Google Sheets: Explained

Why don’t you double-check the spelling of your texts or cleaning up extra spaces before printing or closing Google Sheets?
How to Spell-check in Google Sheets
How to Trim Whitespaces in Google Sheets

## Analyze your live financial data in a snap

Are you learning this formula to visualize financial data, build a financial model, or conduct financial analysis? In that case, LiveFlow may help you automate manual workflows and update numbers in real-time. You can access various financial templates on our website, from the simple Income Statement to Multi-Currency Consolidated Financial Statement. You can also customize these templates as you want without breaking the automated data inflow.