SUBSTITUTE & REPLACE

Back to all functions

The SUBSTITUTE and REPLACE functions switch a certain string of text with a different one. Each function consists of three arguments, and one optional one.
The SUBSTITUTE function first requires the cell containing the string, the string you want to replace, and then what you want to replace it with.
So we’ll write Equals, SUBSTITUTE, select the cell, type Excel in quotation marks, and substitute it with “Word”. Every instance of the word Excel has now been switched out for Word.
If we happen to know the position in each cell of the string we want to change, we can use the REPLACE function instead. It requires the cell containing the text, the starting position, how many characters after that we want to replace, and then the new text.
So we write Equals REPLACE, 7 for the starting position, 4 for how many characters, and 2010 for the new text.
In this lesson we have looked at two ways to switch out text in a cell, SUBSTITUTE and REPLACE.

Popular courses

The Excel Functions Guide

Deepen and develop your Excel Functions skills

Learn how to efficiently manage databases, clear text in cells, and retrieve values from other tables. The course also walks...

Excel Essentials

Get a better understanding of the Excel workflow

Learn to feel more comfortable in Excel. This course will help quickly develop your knowledge in Excel. Excel Essentials is...

Contact us for assistance in finding right course

Excel for your profession

The Excel course for Procurement and Logistic professionals

Excel for professionals working within procurement and logisticians

In cooperation with organisations and professionals within the industry, Learnesy have developed an Excel course that is adapted to those...

Looking for something custom made? Contact us and we will make sure to meet your requirements.

Contact