The fastest way to replace words in Excel
Use the Find & Replace dialog to swap one word or phrase for another across your entire spreadsheet in seconds. Press Ctrl+H on Windows or Cmd+Option+F on Mac, type the word you want to find in the first box, type the replacement word in the second box, then click Replace All. Excel will change every instance at once.
If you want to be more careful and check each replacement before it happens, click Replace instead of Replace All. Excel will highlight each match one at a time, and you decide whether to replace it or skip to the next one.
The Find & Replace dialog also lets you search only in specific columns, match whole words only (so "cat" won't match "catalog"), or ignore uppercase and lowercase differences. These options sit under "Options" in the dialog box.
Key Takeaways
- Press Ctrl+H (Windows) or Cmd+Option+F (Mac) to open Find & Replace, then type the word to find and the replacement word.
- Click Replace All to change every instance at once, or click Replace to check each one before it changes.
- Use the Options menu to search only in specific columns, match whole words only, or ignore capitalization.
- If you make a mistake, press Ctrl+Z immediately to undo all replacements.
Finding and replacing in a single column
If you only want to replace words in one column, click on the column header to select the entire column first. Then open Find & Replace with Ctrl+H and proceed as normal. Excel will only search within the selected column.
This is useful when you have the same word in different columns and you only want to change it in one place. For example, if "North" appears in both a Region column and a Territory column, selecting the Region column first ensures you only replace it there.
Matching whole words so you don't replace parts of words
By default, Find & Replace will match your search term anywhere it appears, even inside other words. If you search for "cat" it will replace it in "catalog", "category", and "concatenate".
To replace only the complete word "cat" and leave "catalog" untouched, open Find & Replace, type your search term, then click Options to expand the menu. Check the box labeled "Match entire cell contents" or "Whole words" depending on your Excel version. Now Excel will only replace exact matches.
Ignoring or matching capitalization
Find & Replace is case-sensitive by default, meaning "John" and "john" are treated as different words. If your data is inconsistent and you want to replace all versions regardless of capitalization, open Find & Replace, click Options, and uncheck "Match case".
If you want the opposite — to replace only "John" and leave "john" alone — keep "Match case" checked. This is helpful when you're fixing proper nouns or titles where capitalization matters.
Replacing with nothing to delete words
You can use Find & Replace to delete a word by leaving the replacement field empty. Open Find & Replace with Ctrl+H, type the word you want to remove in the Find field, leave the Replace field blank, and click Replace All. The word disappears from your spreadsheet.
This works well for removing extra spaces, unwanted prefixes, or repeated words. For example, if every cell in a column starts with "Item-" and you want to remove it, search for "Item-" and replace it with nothing.
Using wildcards and special characters
Excel's Find & Replace supports wildcards — symbols that stand in for unknown characters. The question mark ? matches any single character, and the asterisk * matches any number of characters.
To use wildcards, open Find & Replace, click Options, and check "Use wildcards" or "Use regular expressions" depending on your Excel version. Then you can search for patterns like "cat?" to find "cats", "cate", or "cath", or "2023*" to find any cell starting with 2023 followed by anything else.
This is powerful for cleaning messy data. If you have phone numbers in different formats and want to standardize them, or product codes with varying suffixes, wildcards let you find and replace patterns instead of exact matches.
Undoing a replace if you made a mistake
If you click Replace All and realize you made a mistake, press Ctrl+Z immediately to undo all the replacements at once. Excel will restore your spreadsheet to the state it was in before you opened Find & Replace.
This is why Replace All is safe to use — you can always undo it. However, if you close the file without saving after a bad replacement, the undo history is lost. If you're nervous about a large replacement, save your file first, do the replacement, and only close the file if the result looks correct.
Frequently Asked Questions
Can I replace text in multiple sheets at once?
No, Find & Replace works on one sheet at a time. You must repeat the process for each sheet. If you have many sheets with the same replacement needed, consider copying the data to one sheet, doing the replacement, then copying it back.
What if I want to replace text only in cells that meet a certain condition?
Find & Replace does not filter by cell conditions. If you need conditional replacement, use a formula instead. For example, use an IF statement to check a condition and return the replacement text, then copy the results and paste them as values over the original data.
How do I replace line breaks or special characters?
In the Find field, you can enter special codes. For a line break, use Ctrl+J on Windows or Cmd+J on Mac. For a tab character, use Ctrl+Tab. Type these codes directly into the Find or Replace field, and Excel will treat them as the actual character.
Can I replace based on formatting, like color or bold text?
Standard Find & Replace does not search by formatting. Some versions of Excel have an advanced option under "Format" in the Find & Replace dialog, but it is limited. For complex formatting replacements, you may need to use a macro or do the replacement manually.
Does Find & Replace work the same way in Google Sheets?
Google Sheets has a similar Find & Replace tool accessed with Ctrl+H, but it has fewer options. It does not support wildcards or regular expressions the same way Excel does. The basic find and replace function works identically, but advanced features differ.