Yes, Excel can find and replace every instance of a word in seconds using the built-in Find and Replace tool. Press Ctrl + H (Cmd + H on Mac), type the word you want to change into "Find what" and the new word into "Replace with", then click Replace All. That single action updates every matching cell in the selected range or the whole workbook. Below is the full walkthrough, plus how to avoid accidentally changing partial matches (turning "cat" into "dog" inside "category") and what to do if the replacement seems to miss some cells.
What You'll Need
- Excel on Windows or Mac (the desktop app; the steps below are for desktop, and the web version's Replace tool is very similar)
- A spreadsheet with the data you want to edit
- Optionally, a backup copy of the file, since mass replacements are easy but not always easy to undo
Step-by-Step
- Open your workbook in Excel. If you only want to replace the word in part of the sheet, select that range first (click and drag over the cells). If you select nothing, Excel searches the entire current sheet; you can expand the search to the whole workbook in a later step.
- Press Ctrl + H on Windows or Cmd + H on Mac to open the Find and Replace dialog. Alternatively, go to Home > Find & Select > Replace in the ribbon. Exact ribbon labels can differ slightly between Excel versions, but the keyboard shortcut works everywhere.
- In the Find what box, type the word you want to replace.
- In the Replace with box, type the new word. To delete the word entirely, leave this box empty.
- Click Options >> to reveal extra settings if you need them. Set Within to "Sheet" or "Workbook" depending on how far the replacement should reach.
- If you want to match the word's capitalization exactly (for example, changing "Smith" but not "smith"), tick the Match case checkbox.
- To avoid changing partial matches (so "cat" does not become "dog" inside "category"), tick Find entire cells only. Note this only works when the cell contains exactly that word and nothing else; for words inside longer text, see the Tips section.
- Click Replace All. Excel processes every match at once and shows a message confirming how many replacements were made.
- Click OK, review your data, and save the file. If something looks wrong, press Ctrl + Z immediately, before doing anything else, to undo the replacement.
Common Mistakes
- Not selecting a range first. With no selection, Excel only searches the active sheet, so matches on other tabs are silently skipped unless you set Within to Workbook.
- Replacing partial matches. Replacing "pen" also changes "open" and "pencil". Tick "Find entire cells only" or check the result carefully.
- Ignoring case. By default, Excel treats "word" and "Word" as the same. Use Match case when capitalization matters.
- Replacing inside formulas. Find and Replace also edits formula text. If your word appears in formulas, untick Formulas under the Look in setting (or set Look in to Values) so only displayed text is touched.
- Doing other work before checking. Replace All can be undone with Ctrl + Z, but only if you undo right away. Once you save and close, the change is permanent unless you have a backup.
Tips
- To replace a word inside longer text without hitting partial matches, include a space around it: search for " cat " (with spaces) and replace with " dog ". It isn't perfect (words at the start or end of a cell won't match), but combined with "Find entire cells only" it covers most cases.
- Use Find Next before committing, or click Replace instead of Replace All to review each match one at a time when the data is critical.
- To replace several different words in one pass, repeat the Find and Replace steps for each pair; Excel remembers your last entries when you reopen the dialog.
- Hidden rows, hidden columns and filtered-out cells can behave unexpectedly with Find and Replace, so unhide or clear filters before running a large replacement if matches seem to be missed.
- For recurring text clean-up, consider the SUBSTITUTE function in a helper column, for example
=SUBSTITUTE(A1,"old word","new word"), which changes text without altering the original cells.
Troubleshooting
Some matches were not replaced. Check the Within setting (Sheet vs Workbook), confirm the search isn't limited to a range you forgot you selected, and clear filters or unhide rows and columns, as hidden content may be skipped.
Replace changed text you didn't want changed. Press Ctrl + Z immediately. If it's too late, restore from your last saved version or a backup copy.
The word looks identical but won't match. Extra spaces, line breaks inside cells, or different characters (such as a non-breaking space) can prevent a match. Try searching for a shorter portion of the word, or use TRIM and CLEAN in a helper column to normalize the text first.
Numbers or dates won't replace. Find and Replace works on what is displayed. If a cell shows "$50" but contains the value 50, searching for "$50" finds nothing. Search for the underlying value instead, or adjust the cell's number format.
Frequently Asked Questions
How do I replace a word across all sheets at once?
In the Find and Replace dialog, click Options and set Within to Workbook, then click Replace All. Excel searches every worksheet in the file.
Can I undo a Replace All?
Yes, as long as you haven't saved and closed the file or performed other actions that pushed the change out of the undo history. Press Ctrl + Z right away.
Does Find and Replace work in Excel for the web?
Yes. The web version has a Replace option under the same Ctrl + H shortcut (or via the Home ribbon), though it has fewer options than the desktop app.
Will Replace All affect my formulas?
It can, because formulas are text too. If your target word appears inside formulas, set Look in to Values so only the displayed results are searched, not the formula text.
How do I delete a word from every cell?
Leave the Replace with box empty and click Replace All. Every instance of the word is removed. Remember to include surrounding spaces in the search if you don't want double spaces left behind.