Find & Replace Several Things at Once

Excel Formulas › Text

All versionsSUBSTITUTE

Need to clean several patterns in one go — strip $, commas, and stray symbols? Nest SUBSTITUTE calls so each one feeds the next, doing a whole list of replacements in a single formula.


Quick formula: to remove $, commas, and spaces from A2:
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2, "$", ""), ",", ""), " ", "")
Each SUBSTITUTE wraps the previous one. The innermost runs first, and its result feeds outward.

Functions used (tap for the full reference guide):

The example

A messy currency string reduced to a clean number-ready value.

AB
1RawCleaned
2$ 1,250.001250.00
3$ 9,800.509800.50

The formula

Stack the replacements, inside out:

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,"$",""),",","")," "," ") // "$ 1,250.00" → "1250.00"

How it works

Nested SUBSTITUTE runs from the inside out:

  1. The innermost SUBSTITUTE runs first — here, removing the $.
  2. Its result becomes the input to the next SUBSTITUTE, which removes the comma, and so on outward.
  3. Each call handles one find/replace pair, so chain as many as you need (Excel allows deep nesting).
  4. Order can matter: replace longer or more specific patterns before shorter ones to avoid partial-match surprises.

Too many to nest? Build a small lookup table of find/replace pairs and reduce over it — in Excel 365, REDUCE with SUBSTITUTE applies the whole list cleanly. For one-off jobs, Find & Replace (Ctrl+H) run several times is simplest.

Try it: interactive demo

Live demo

Type a value; $, commas, and spaces are stripped.

Cleaned:

Variations

Replace, don’t delete

Swap underscores for spaces:

=SUBSTITUTE(A2, "_", " ")

Nth occurrence only

SUBSTITUTE’s 4th argument:

=SUBSTITUTE(A2, "-", "", 2)

Then make it a number

Convert the cleaned text:

=VALUE(SUBSTITUTE(SUBSTITUTE(A2,"$",""),",",""))

Pitfalls & errors

SUBSTITUTE is case-sensitive. “Inc” and “inc” are different. Match the exact casing, or normalize with UPPER/LOWER first.

Order of replacements. Replacing a substring that’s part of another pattern can cascade unexpectedly — do the most specific replacements first.

SUBSTITUTE vs REPLACE. SUBSTITUTE swaps matching text; REPLACE swaps by position. Use SUBSTITUTE for find-and-replace by content.

Practice workbook

📊
Download the free Find & Replace Several Things at Once practice workbook
A multi-replace sheet with the replace-not-delete, nth-occurrence, and to-number variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I replace multiple characters at once in Excel?
Nest SUBSTITUTE calls so each feeds the next: =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,"$",""),",","")," ",""). The innermost runs first.
Is SUBSTITUTE case-sensitive?
Yes. SUBSTITUTE matches the exact case of the text. Wrap with UPPER or LOWER first if you need case-insensitive replacement.
What's the difference between SUBSTITUTE and REPLACE?
SUBSTITUTE replaces matching text wherever it appears; REPLACE replaces characters at a specific position and length. Use SUBSTITUTE for content-based find-and-replace.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Replace text · Remove specific characters · Convert text to number

Function references: SUBSTITUTE