SUBSTITUTE Exercise: Replace Words in a Text

Reading time: 3 minutes

Find and Replace changes your data for good. SUBSTITUTE does not. It returns a new text with the change, and your original column stays intact. You can also use it to remove a character, by replacing it with an empty text.

The following exercise shows you how to replace and remove text with SUBSTITUTE.

What you will practice in this exercise

You work on a list of invoices and customer names. You answer 6 questions, one formula per question:

  • Replace “Co” with “Company” (SUBSTITUTE)
  • Replace “Mr” with “Mister”
  • Remove all the hyphens (replace with “”)
  • Replace “INV” with “INVOICE”
  • Replace only the first hyphen (instance number)
  • Replace two words in one formula (nested SUBSTITUTE)

Practice with exercises

SUBSTITUTE — Replace text
🔒 Members only

SUBSTITUTE — Replace text
Replace a character or word across a whole column in one go with SUBSTITUTE.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

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

SUBSTITUTE Exercise: Replace Words in a Text

Reading time: 3 minutes

Find and Replace changes your data for good. SUBSTITUTE does not. It returns a new text with the change, and your original column stays intact. You can also use it to remove a character, by replacing it with an empty text.

The following exercise shows you how to replace and remove text with SUBSTITUTE.

What you will practice in this exercise

You work on a list of invoices and customer names. You answer 6 questions, one formula per question:

  • Replace “Co” with “Company” (SUBSTITUTE)
  • Replace “Mr” with “Mister”
  • Remove all the hyphens (replace with “”)
  • Replace “INV” with “INVOICE”
  • Replace only the first hyphen (instance number)
  • Replace two words in one formula (nested SUBSTITUTE)

Practice with exercises

SUBSTITUTE — Replace text
🔒 Members only

SUBSTITUTE — Replace text
Replace a character or word across a whole column in one go with SUBSTITUTE.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

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