How to Use SUBSTITUTE function in Excel

In this article, we will learn how to use the SUBSTITUTE function.

SUBSTITUTE function finds and replaces the text from the cell. Find and Replace text is provided in the formula. Unlike REPLACE function we don’t need to provide the position of the replacement text.
Syntax:

=SUBSTITUTE (text, old_text, new_text, [instance])

Old_text is the find text
New_text is the replace text
[instance] is an optional argument, The instance to replace. If not provided all the instances will be replaced.
Let’s understand this by running it on some examples
Here we have some Old_text and other arguments of the SUBSTITUTE function.
71
Use the formula

=SUBSTITUTE(A2,B2,C2)

Explanation:
Substitutes the Car from the Text from Bus
72
Press Enter
73
Copy the formula in other cells, select the cells taking the first cell where the formula is already applied, use shortcut key Ctrl + D
74
In the E5 cell. Use the Instance argument

=SUBSTITUTE(A2,B2,C2,D2)

This will replace the second occurrence from the text not he first.
Hope you understood how to use the SUBSTITUTE function in Excel. Explore more text function article here. Please feel free to state your queries in the comment box. We will revert you.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

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 Google PlusVisit Us On Youtube