To mass replace in Excel, use Find & Replace (Ctrl+H on Windows, Command+H on Mac) to swap one value for another across a sheet or the whole workbook. For replacing many different values at once, use a helper column with SUBSTITUTE or Power Query. Both methods are built into Excel and need no add-ins.
What You'll Need
- Excel for Windows, Mac, or the web (the web version has a simpler Find & Replace and no Power Query).
- A backup copy of your file before any bulk change. Use File > Save As to keep the original.
- For the formula method: a blank helper column next to your data.
- For Power Query: Excel 2016 or later on Windows, or Excel for Mac with Power Query enabled (labels vary by version).
Step-by-Step
Method 1: Find & Replace for one value at a time
- Select the range you want to change. To cover the whole sheet, click any single cell; to cover the whole workbook, you will change the scope inside the dialog.
- Press Ctrl+H (Windows) or Command+H (Mac). The Find and Replace dialog opens.
- In Find what, type the text or number to replace. In Replace with, type the new value. Leave Replace with empty to delete the found text.
- Click Options to set the search scope. Within Sheet is the default; choose Workbook to search every sheet. Tick Match case if capitalization matters, and Match entire cell contents if you only want whole-cell matches.
- Click Find All to preview every match before changing anything. The list shows each cell address; click a row to jump to it.
- Click Replace All to change every match at once, or Replace to step through one at a time. Excel reports how many replacements were made.
- Press Ctrl+Z immediately if the result is wrong. Undo works for Find & Replace as long as you have not closed the file.
Method 2: SUBSTITUTE formula for many different replacements
- Suppose column A holds product names and you need to change several brand words at once. In B2, enter a formula that nests SUBSTITUTE for each pair: =SUBSTITUTE(SUBSTITUTE(A2,"OldBrand","NewBrand"),"OldModel","NewModel").
- Add more SUBSTITUTE layers for each additional replacement. Each layer takes the previous result as its text argument.
- Press Enter and copy the formula down the column. Check a few rows against the original to confirm the output is correct.
- Select the formula column, copy it, then use Paste Special > Values over the original column if you want to keep only the results. Delete the helper column afterward.
Method 3: Power Query for repeatable bulk replacement
- Select your data range and go to Data > From Table/Range. Confirm the range and headers in the dialog.
- In the Power Query Editor, right-click the column header and choose Replace Values. Enter the value to find and the replacement, then click OK.
- Repeat Replace Values for each additional pair. Each step is recorded in the Applied Steps list on the right.
- Click Close & Load to write the cleaned table back to a new sheet. The original data stays intact, and you can refresh the query later if the source changes.
Common Mistakes
- Running Replace All with the scope left on Workbook when you only meant one sheet. Check the Within setting first.
- Forgetting that Find & Replace also matches parts of words. Searching "cat" will change "category" unless you tick Match entire cell contents.
- Replacing numbers stored as text. If a column looks numeric but is left-aligned, Find & Replace may miss it or convert the format. Use the formula method instead.
- Not backing up. Replace All cannot be undone after you save and close the file.
- Overwriting the original column with a formula result without using Paste Special > Values, which leaves broken references when the helper column is deleted.
Tips
- Use Find All first to count matches. If the number looks too high, refine the search before replacing.
- Wildcards work in Find what: ? matches one character and * matches any number of characters. Tick Use wildcards in Options. To find a literal question mark or asterisk, put a tilde before it (~?).
- For values that appear in many columns, use Power Query so the cleanup is repeatable and documented in Applied Steps.
- When replacing across a workbook, note which sheets contain the value. Replace All reports the total but not the breakdown.
- If you only need to change formatting, use Find & Replace with Format specified rather than changing the text.
Troubleshooting
- No matches found but you can see the text: check Match case and Match entire cell contents, and confirm the Within scope. The text may also contain a leading space or a non-breaking space; search for a shorter fragment.
- Replace All changed too much: press Ctrl+Z right away. If you already saved, close without saving only if you have not made other changes; otherwise restore from your backup copy.
- Formula shows #VALUE!: one of the SUBSTITUTE arguments is missing or a cell reference is broken. Check each layer of the formula.
- Power Query replace does nothing: the value may differ by case or trailing space. Use Transform > Format > Trim and Clean before replacing.
- Find & Replace is greyed out: the sheet may be protected. Unprotect it via Review > Unprotect Sheet if you know the password.
Frequently Asked Questions
Can I replace multiple different values in one pass?
Not with Find & Replace alone. Use nested SUBSTITUTE formulas or Power Query's Replace Values step for each pair.
Does Replace All work across all sheets?
Yes, if you set Within to Workbook in the Options section of the dialog. The default is the current sheet only.
Can I undo a Replace All?
Yes, with Ctrl+Z or the Undo button, as long as the file is still open and you have not exceeded Excel's undo history.
Why does Find & Replace miss some cells?
Common causes are Match case, Match entire cell contents, a sheet-only scope, or hidden characters such as leading spaces. Try a shorter search term.
Can I replace text in formulas?
Find & Replace searches formula text when the Look in setting is set to Formulas. Be careful: replacing part of a function name or reference will break the formula.
Is mass replace available in Excel for the web?
Yes, Find & Replace works in the browser version, but Power Query is not available there. Use the formula method instead.