Replace specific text with new text inside a cell.
The SUBSTITUTE function replaces all occurrences of a substring with another string. Its syntax is =SUBSTITUTE(text, old_text, new_text). For example, =SUBSTITUTE("Hello world","world","Excel") returns "Hello Excel".
In the text in A1, replace the word "Excel" with "Spreadsheet" and place the result in B1.
Click cell B1, type your formula and press Enter.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| Original Text | Updated Text | ||||
| 1 |
Excel Beginner
|
||||
| 2 | |||||
| 3 | |||||
| 4 | |||||
| 5 | |||||
| 6 |