Formulas > =REPLACE()

How To Use REPLACE() Function in Google Sheets


Replaces part of a text string with a different text string.

Common Questions about the REPLACE Formula:

-What is the syntax of the REPLACE formula?
-How many parameters are in the REPLACE formula?
-What characters can be replaced with the REPLACE formula?
-How can you use the REPLACE formula to remove specific characters from a string?

How can the REPLACE Formula be used appropriately?
-The REPLACE formula can be used to replace one set of text with another set of text within a string.
-It can also be used to remove unwanted characters, change the case of text, search and replace text within a range, and concatenate a number of strings.

How can the REPLACE Formula be commonly mis-typed?
-The REPLACE formula has up to five parameters, so it is important to remember the order of the parameters when typing the formula.
-Sometimes the length of the string (Parameter 2) can be forgotten or the incorrect value can be used.

What are some common ways the REPLACE formula is used inappropriately?
-Using REPLACE formula to modify or change a number or a date value.
-The REPLACE formula should not be used to return a value that has been input into a cell.

What are some common pitfalls when using the REPLACE formula?
-Using appropriate string lengths and not exceeding them as it can lead to incorrect results.
-Mixing up Parameters 1 and 2 in the REPLACE formula as it may lead to incorrect results.

What are common mistakes when using the REPLACE Formula?
-Including incorrect parameters in the REPLACE formula.
-Incorrectly converting from relative to absolute references in the REPLACE formula which can lead to incorrect results.

What are common misconceptions people might have with the REPLACE Formula?
-That the REPLACE formula is limited to strings. In fact, the REPLACE formula works with text, numbers, and dates, and it can be used to change the format of any number or date value. 
-That the REPLACE formula will return a range of cells. In fact, the REPLACE formula will only return a single result.

How To Actually Use REPLACE() in Sheets

REPLACE(text, position, length, new_text)

Looking for a video tutorial? Members can email me anytime! Check out the blogs below for more info on this formula. Or generate your formula. Find more formulas here at

Learn more about the REPLACE() formula:

Google Sheets Replace Function | How to Use Replace | Spreadsheet Function

Use the Google Sheets REPLACE function to replace part or the entire text with different text. You have to specify the starting point from where the replacement will begin, the number of characters to be replaced, and the new text. If you know the position or the starting point of the text, then REPLACE function would be ideal to use. If you do not want to hard-code the starting point, one of the Google Sheets functions you can use to get the starting point is FIND.

Generate a REPLACE() formula for your needs with AI

Google Sheets Formula Generator

Whatever you need to do in sheets, you can generate a formula. Use the Better Sheets Formula generator to create a formula for any need. Completely free for members.


Looking for more help inside sheets get the free Add-on: Asa. Ask Sheets Anything. Go ahead, ask it any problem you migth have. Bring your own APIKEY and generate formulas inside of Google Sheets.