ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Comparisons
  3. Find and Replace vs SUBSTITUTE: Which Should You Use?

Find and Replace vs SUBSTITUTE: Which Should You Use?

By ExcelReady Team·Updated December 1, 2026·8 min read

The short answer

Use Find and Replace (Ctrl+H, Mac: Control+H) for a one-off fix you want written straight into the cells, across a sheet or workbook, with wildcards, or inside formulas. Use SUBSTITUTE when you must keep the original, when new data needs the same fix, when only the second or third match should change, or when a test wants a formula.

Key takeaways

  • Find and Replace overwrites the original cells; SUBSTITUTE leaves them alone and puts the result in a new cell.
  • SUBSTITUTE is always case-sensitive. Find and Replace ignores case unless you tick Match case.
  • In Find and Replace, * and ? are wildcards, so search for ~* to find a real asterisk. SUBSTITUTE has no wildcards.
  • SUBSTITUTE always returns text. Wrap it in VALUE when the result should be a number you can add up.
  • Only SUBSTITUTE can change just the 2nd or 3rd occurrence inside a cell, using its instance_num argument.
On this page+
  1. Find and Replace vs SUBSTITUTE at a glance
  2. The same product list, cleaned both ways
  3. When to use Find and Replace
  4. When to use SUBSTITUTE
  5. What a job test usually checks
  6. How to decide: a quick checklist
  7. Common mistakes with Find and Replace and SUBSTITUTE
  8. Our recommendation
  9. Practise it

Find and Replace vs SUBSTITUTE comes down to one question: should the original data change? Find and Replace (Ctrl+H, Mac: Control+H) rewrites the cells themselves, once. SUBSTITUTE is a formula that shows a cleaned copy in another cell and keeps the original. This guide runs both on the same messy product list, so you can see exactly where each one wins and where each one quietly gets it wrong.

Find and Replace vs SUBSTITUTE at a glance#

Both swap one piece of text for another. Almost everything else about them is different.

FeatureFind and ReplaceSUBSTITUTE
What it isA dialog box: Home > Find & Select > ReplaceA worksheet function: =SUBSTITUTE(text, old_text, new_text, [instance_num])
Original dataOverwritten (Undo is your only way back)Kept; the result appears in another cell
CaseIgnored, unless you tick Match caseAlways case-sensitive
Wildcards* any characters, ? one character, ~ to escapeNone: * and ? are normal characters
Which matches changeEvery match in the searched cellsEvery match, or only the nth one with instance_num
Whole-cell matchMatch entire cell contents optionNo option; it always works inside the text
ReachSelection, sheet or whole workbookOne cell (or a spilled range in Microsoft 365)
Inside formulasYes, it searches and changes formula textNo, it works on the value it's given
New data laterYou must run it againUpdates automatically
Result typeExcel re-reads the cell, so 2.5 becomes a numberAlways text

The same product list, cleaned both ways#

Here's a small export from a supplier in A1:B7. Codes should start with BLACK, not BLK. The weights are text because of the " kg" unit. The asterisk on row 5 marks a discontinued item.

AB
1Item codeWeight
2BLK-104-S2.5 kg
3blk-105-M1 kg
4BLK-106-L12 kg
5RED-107-S*0.75 kg
6BLK-108-XL3 kg
7RED-109-M1.25 kg

Job 1: rename BLK to BLACK#

With A2:A7 selected, press Ctrl+H (Mac: Control+H), find BLK and replace with BLACK. For the formula version, type =SUBSTITUTE(A2,"BLK","BLACK") in C2 and fill down with Ctrl+D (Mac: ⌘D).

OriginalReplace All, Match case offReplace All, Match case on=SUBSTITUTE(A2,"BLK","BLACK")
BLK-104-SBLACK-104-SBLACK-104-SBLACK-104-S
blk-105-MBLACK-105-Mblk-105-Mblk-105-M
BLK-106-LBLACK-106-LBLACK-106-LBLACK-106-L
RED-107-S*RED-107-S*RED-107-S*RED-107-S*
BLK-108-XLBLACK-108-XLBLACK-108-XLBLACK-108-XL
RED-109-MRED-109-MRED-109-MRED-109-M

Find and Replace with its default settings makes 4 replacements, including the lower-case "blk". SUBSTITUTE behaves like Match case on: it misses row 3. If you want SUBSTITUTE to catch every spelling, standardise the case first: =SUBSTITUTE(UPPER(A2),"BLK","BLACK") turns "blk-105-M" into BLACK-105-M.

Job 2: strip " kg" and add up the weights#

Run Find and Replace on B2:B7: find kg (with the leading space) and replace with nothing. The cells now hold 2.5, 1, 12, 0.75, 3 and 1.25 as real numbers, and =SUM(B2:B7) returns 20.5. Excel re-reads each changed cell as if you had typed it. The exception is a column formatted as Text, where the results stay text.

SUBSTITUTE does not do this. =SUBSTITUTE(B2," kg","") returns the text "2.5", aligned to the left. Fill it down and =SUM(C2:C7) returns 0, because SUM skips text. Wrap it in VALUE instead:

Excel formula
=VALUE(SUBSTITUTE(B2," kg",""))

Now each row is a number and the total is 20.5. In Microsoft 365 you can even do the whole column in one cell: =SUM(VALUE(SUBSTITUTE(B2:B7," kg",""))) also returns 20.5.

Job 3: remove the asterisk#

This is where Find and Replace bites. In the Find what box, * is a wildcard meaning "any characters". Find *, replace with nothing, click Replace All on A2:A7, and every one of the six cells is emptied. Press Ctrl+Z (Mac: ⌘Z) at once. Search for ~* instead: the tilde tells Excel you mean a real asterisk, and only row 5 changes, to RED-107-S.

SUBSTITUTE has no wildcards, so =SUBSTITUTE(A5,"*","") simply removes the asterisk and returns RED-107-S. The flip side: SUBSTITUTE can't match a pattern. Find and Replace can, for example finding (*) to remove any note in brackets, whatever it says.

Job 4: change only the second hyphen#

Find and Replace changes every match in a cell. SUBSTITUTE's optional fourth argument picks one:

Excel formula
=SUBSTITUTE(A2,"-"," size ",2)

This returns BLK-104 size S: the first hyphen stays, the second is replaced. SUBSTITUTE also works as a building block inside bigger formulas. =LEN(A2)-LEN(SUBSTITUTE(A2,"-","")) counts the hyphens in a code and returns 2.

When to use Find and Replace#

Use Find and Replace when the fix is a one-off and you want the result to be the data.

  • You own the file and the old values are wrong. Renaming BLK to BLACK in your own list doesn't need a helper column.
  • The change spans sheets. Set Within to Workbook under Options >> to fix every tab in one go.
  • You need a pattern. Wildcards handle "anything in brackets" or "any code starting with RED-".
  • You want to change formulas. Replace searches the text of formulas, so it can rewrite a sheet name or a cell reference in hundreds of formulas. Our guide to Find and Replace in Excel walks through that.
  • You want numbers back. Stripping a unit or a currency code with Replace leaves real numbers, with no VALUE needed.

One detail to know: on the Replace tab, Excel searches what is typed in each cell (the formula), not the result you see. A cell showing "BLK-104-S" because it holds =A2 is not itself changed. It only shows the new text because A2 changed.

When to use SUBSTITUTE#

Use SUBSTITUTE when you need to keep the raw data, repeat the fix, or be precise.

  • The source must stay untouched. Keeping the supplier's original codes next to the cleaned ones makes your work easy to check.
  • New data keeps arriving. Paste next week's export into columns A and B, and the formulas clean it instantly. Find and Replace would have to be run again by hand.
  • Case matters. If "BLK" is a colour code but "blk" means something else in your data, SUBSTITUTE's case-sensitivity is a feature.
  • Only one occurrence should change. instance_num targets the 1st, 2nd or 3rd match.
  • The fix is one step of a bigger formula. SUBSTITUTE nests inside TRIM, VALUE, LEN and others.

If you're choosing between SUBSTITUTE and its sister function, see SUBSTITUTE vs REPLACE: REPLACE works by position, not by matching text. The SUBSTITUTE and REPLACE guide has more formula examples.

What a job test usually checks#

Practical Excel tests often grade a formula in a named cell. If the task says "in C2, return the code with BLK replaced by BLACK", running Find and Replace on column A gives the checker nothing to find in C2, and it changes the source data the next questions may rely on. Read the wording: "in cell X" or "using a formula" means SUBSTITUTE. "Update the sheet" or "correct every entry" usually means Find and Replace is fine.

Tests also like the traps shown above: the lower-case "blk" that SUBSTITUTE misses, the text result that makes SUM return 0, and the asterisk that wipes a column.

How to decide: a quick checklist#

Answer these in order. The first "yes" usually decides it.

  1. Must the original values stay visible? Yes: SUBSTITUTE.
  2. Will you get new data that needs the same fix? Yes: SUBSTITUTE.
  3. Does a task ask for the answer in a specific cell? Yes: SUBSTITUTE.
  4. Should the change reach several sheets, or text inside formulas? Yes: Find and Replace.
  5. Do you need a wildcard pattern rather than exact text? Yes: Find and Replace.
  6. Is it a one-off clean-up of your own file? Yes: Find and Replace, then check the count it reports.

Common mistakes with Find and Replace and SUBSTITUTE#

  1. Selecting one cell before Replace All. With a single cell selected, Excel searches the whole sheet. Select the column first.
  2. Searching for a bare * or ?. It matches everything or every single character. Use ~* and ~?.
  3. Forgetting the dialog's settings. Match case, Match entire cell contents and Within: Workbook stay as you left them. Open Options >> and check them before Replace All.
  4. Expecting SUBSTITUTE to ignore case. It won't. Use UPPER or LOWER inside it, or Find and Replace.
  5. Adding up SUBSTITUTE results. They're text, so SUM returns 0. Use VALUE or --.
  6. Deleting the original column. SUBSTITUTE formulas then show #REF!. First copy the results and use Home > Paste > Values over them, then delete the source.

For spaces and hidden characters, neither tool is the best fit. TRIM and CLEAN are built for that, as TRIM vs CLEAN explains. And for a quick one-off reshape where the pattern is easy to show by example, Flash Fill can beat a formula.

Our recommendation#

Default to SUBSTITUTE in a helper column whenever the data comes from somewhere else, will be refreshed, or will be checked by someone. It keeps the original, it's repeatable, and it's what a test can mark. Wrap it in VALUE when the result is a number, and in UPPER when case varies.

Reach for Find and Replace for one-off fixes in your own file, for changes across many sheets or inside formulas, and when you need wildcards. Before you click Replace All, select the range, check Options >>, and escape any * or ?. Then look at the replacement count Excel reports: if it's not the number you expected, undo straight away.

Practise it#

Try the weight-cleaning exercise on this page: one SUBSTITUTE inside one VALUE. Then work through Cleaning messy text, where you fix separators, stray spaces and inconsistent capitals with SUBSTITUTE, TRIM and PROPER in a live spreadsheet, and every formula is checked as you go.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

The weights in column B are text, like 2.5 kg, so they can't be added up. In C2, remove " kg" with SUBSTITUTE and turn the result into a real number with VALUE.

fx
ABCD
1
Item code
Weight
Weight (kg)
2
BLK-104-S
2.5 kg
3
blk-105-M
1 kg
4
BLK-106-L
12 kg
5
RED-107-S*
0.75 kg
6
BLK-108-XL
3 kg
7
RED-109-M
1.25 kg
8
9
10

Tip: Work from the inside out: SUBSTITUTE(B2," kg","") gives the text "2.5", and VALUE turns that text into the number 2.5. Note the space before kg.

Practise this in a lesson

LessonCleaning messy textFix stray spaces, random capitals and inconsistent separators in imported data with TRIM, PROPER, UPPER, LOWER and SUBSTITUTE.

Frequently asked questions

What is the difference between Find and Replace and SUBSTITUTE in Excel?

+

Find and Replace is a tool that changes the cells themselves, once, when you click Replace All. SUBSTITUTE is a formula that shows a changed copy in another cell and keeps the original, and it updates when the original changes.

Is SUBSTITUTE case-sensitive?

+

Yes. =SUBSTITUTE(A2,"BLK","BLACK") does not change "blk". To catch every spelling, convert the text first, as in =SUBSTITUTE(UPPER(A2),"BLK","BLACK").

Can SUBSTITUTE use wildcards like * and ?

+

No. SUBSTITUTE treats * and ? as normal characters, so =SUBSTITUTE(A2,"*","") removes real asterisks only. Wildcards work in Find and Replace, where you put ~ in front of * or ? to search for the character itself.

Why does SUM return 0 after I use SUBSTITUTE?

+

SUBSTITUTE always returns text, even when the result looks like a number, and SUM skips text. Wrap the formula in VALUE, as in =VALUE(SUBSTITUTE(B2," kg","")), or put -- in front of it.

Can I undo Find and Replace in Excel?

+

Yes, press Ctrl+Z (Mac: ⌘Z) straight after Replace All to undo every replacement at once. Once you save and close the file, the original values are gone.

Sources

  • Find or replace text and numbers on a worksheet - Microsoft Support
  • SUBSTITUTE function - Microsoft Support
  • VALUE function - Microsoft Support

Written and checked by the ExcelReady Team. First published December 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. Find and Replace vs SUBSTITUTE at a glance
  2. The same product list, cleaned both ways
  3. When to use Find and Replace
  4. When to use SUBSTITUTE
  5. What a job test usually checks
  6. How to decide: a quick checklist
  7. Common mistakes with Find and Replace and SUBSTITUTE
  8. Our recommendation
  9. Practise it

Keep reading

Basics· 5 min read

Find and Replace in Excel (Ctrl+H) Tips

To find and replace in Excel, press Ctrl+H (Mac: Control+H), type the text to find and its replacement, then click Replace All. Select a range first to limit the change to it. Click Options to match case, match entire cell contents or search the whole workbook. Press Ctrl+Z straight away if the result is wrong.

Comparisons· 7 min read

SUBSTITUTE vs REPLACE in Excel

Use SUBSTITUTE when you know what text to change, such as every dot in a phone number: =SUBSTITUTE(A2,".","-"). Use REPLACE when you know where the text is, such as the first 3 characters of a code: =REPLACE(A2,1,3,"NEW"). SUBSTITUTE works by content and REPLACE works by position.

Text· 8 min read

SUBSTITUTE and REPLACE in Excel

Use SUBSTITUTE when you know the text you want to change: =SUBSTITUTE(A2,".","-") swaps every dot for a dash. Use REPLACE when you know the position: =REPLACE(A2,1,3,"XXX") overwrites the first three characters. SUBSTITUTE is case-sensitive and can change just one occurrence; REPLACE ignores what the characters say.

More on comparisons

  • FIND vs SEARCH in Excel
  • Flash Fill vs Formulas: When to Use Each
  • Flash Fill vs Text to Columns: Which Splits Data Better?
  • Freeze Panes vs Split in Excel
  • Goal Seek vs Solver in Excel: Which One Do You Need?
  • Hardcoded Numbers vs Cell References in Excel Formulas
All comparisons articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free