Skip to content
Lesson 5/6

SUBSTITUTE: replace text

Exercise 1 of 3

In B2, remove the dashes from the code.

About this lesson

SUBSTITUTE replaces one piece of text with another, or removes it, everywhere it appears in a cell.

In this lesson

  1. In B2, remove the dashes from the code.
  2. In B2, remove the spaces from the phone number.
  3. In B2, replace only the second dash with a slash.

Use the arrow keys to move between cells; each cell is read out as you go. Type a formula and press Enter. The sheet is also available as a table below.

fx

Type in B2 and press Enter to check.