How to Use REPLACE Function in Excel

In this article, we will learn how to use the REPLACE function.
The REPLACE function replaces the specified text from the cell string. Replacing text is provided in the formula. Unlike SUBSTITUTE function we need to provide the position of the replacement text.

Syntax:

=REPLACE (old_text, start_num, num_chars, new_text)

Let’s understand this by running it on some examples
Here we have some Old_text and other arguments of the REPLACE function.
67
Use the formula

=REPLACE(A2,B2,C2,D2)

Explanation:
Starting from position 1
3
chars will be replaced with the new text Bus
68
Press Enter
69
Copy the formula in other cells, select the cells taking the first cell where the formula is already applied, use shortcut key Ctrl + D
70
In the E3 cell we just erased the text Whole from the A3 Cell.

Hope you understood how to use REPLACE function in Excel. Explore the SUBSTITUTE function article here. Please feel free to state your queries in the comment box. We will revert to you.

Related Articles:

How to Use SUBSTITUTE function in Excel

Excel REPLACE vs SUBSTITUTE function

Remove leading and trailing spaces from text in Excel

How to use RIGHT function in Excel

Remove unwanted characters in Excel

Extract Text From A String In Excel Using Excel’s LEFT And RIGHT Function

Popular Articles:

How to use The VLOOKUP Function in Excel

How to use the COUNTIF function in Excel 2016

How to Use SUMIF Function in Excel

Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Youtube