How To Find And Replace In Excel (2026)
Excel can find a word, a number or a format anywhere in a sheet, and it can swap it for something else in one go.
Press Ctrl+F to find and Ctrl+H to replace.
This guide covers every option in the dialog, the wildcard characters, searching a whole workbook and finding formats.
Table of Contents
- Quick answer: find and replace in Excel
- Find text or numbers
- Replace text or numbers
- What each option does
- Search the whole workbook
- Use wildcards
- Find a cell format
- Keyboard-only steps for the dialog
- Find and replace on a Mac
- Replace text with a formula instead
- Related guides
- Sources
- More Word, Excel and PowerPoint guides
Quick answer: find and replace in Excel
| Task | Shortcut | Ribbon path |
|---|---|---|
| Find | Ctrl+F | Home > Editing > Find & Select > Find |
| Replace | Ctrl+H | Home > Editing > Find & Select > Replace |
| Find on Mac | Control+F, or Command+F for the search bar | Home > Find & Select |
| Replace on Mac | Control+H | Home > Find & Select |
Find text or numbers
- Press Ctrl+F, or go to Home > Editing > Find & Select > Find.
- Type your text or numbers in the Find what box, or pick a recent search from its drop-down list.
- Select Find All to list every match, or Find Next to move through them one at a time.
Select an item in the Find All list to jump to that cell.
You can sort the Find All results by clicking a column heading.
Select Options>> to show the extra settings.
Replace text or numbers
- Press Ctrl+H, or go to Home > Editing > Find & Select > Replace.
- Type the text to look for in Find what, and the new text in Replace with.
- Select Replace All to change every match, or Replace to change them one at a time.
Use Replace one at a time when you are not sure every match should change.
What each option does
| Option | Choices and effect |
|---|---|
| Within | Searches the Sheet or the entire Workbook |
| Search | Goes By Rows (the default) or By Columns |
| Look in | Searches Formulas, Values, Notes or Comments; on the Replace tab only Formulas is offered |
| Match case | Finds only text with the same capitalization |
| Match entire cell contents | Finds only cells whose whole content equals your search text |
| Format | Searches by cell formatting |
Search the whole workbook
By default Excel looks only at the current sheet.
Open the dialog, select Options>>, and change Within from Sheet to Workbook.
Use wildcards
| Character | Meaning | Example |
|---|---|---|
| ? | Any single character | s?t finds sat and set |
| * | Any number of characters | s*d finds sad and started |
| ~ | Treat the next ?, * or ~ as a normal character | fy91~? finds fy91? |
Wildcards work in both Find and Replace.
Use the tilde when you really are looking for a question mark or an asterisk.
Find a cell format
- Press Ctrl+F and select Options>>.
- Open the Format drop-down.
- Choose Choose Format From Cell, then click a cell that has the format you want to match.
Clear the Find what box first if you want to search by format alone.
Excel remembers formatting criteria between searches, so a search for data you know is there may fail until you clear them.
Open the Format drop-down and choose Clear Find Format to reset it.
Keyboard-only steps for the dialog
Everything in the dialog can be reached from the keyboard, which Microsoft documents for screen reader users.
| Key | What it does |
|---|---|
| Alt+T | Opens the extra options such as Within, Search, Look in, Match case and Match entire cell contents |
| Alt+M | Opens Find Format on the Find tab |
| Enter | Moves to the next match after the first Find next |
| Shift+Tab | Moves back to the Replace and Replace all buttons |
| Esc | Closes the dialog |
The Replace tab lists Within, Search, Match case and Match entire cell contents, but not Look in or Find Format.
To clear leftover format criteria from the keyboard, open the Format menu and choose Clear Find Format.
Find and replace on a Mac
On a Mac, use Control+F to find and Control+H to replace.
Find All shows a list of matching cells and the total number of matches.
For a quick search, select a cell to search the whole sheet, or select a range to limit it, then press Command+F and type your term.
Press Return for each next match, and press Esc to cancel a search.
The magnifying glass menu lets you choose Search in Sheet or Search in Workbook, and Advanced opens the full dialog.
Replace text with a formula instead
Microsoft points to the SUBSTITUTE and REPLACE functions when you want to change text with a formula and keep the original data.
To combine text from two cells, see how to combine text in Excel.
To change numbers that came in as text, see converting numbers stored as text in Excel.
Related guides
After cleaning up values, you can remove duplicates in Excel.
To change how a long list looks, see conditional formatting in Excel.
Sources
Microsoft Support: Find or replace text and numbers on a worksheet and Use a screen reader to find and replace data in Excel.
More Word, Excel and PowerPoint guides
- How To Save Word And Excel Files To Your PC By Default (2026)
- How To Show The Formula Bar And Gridlines In Excel (2026)
- How To Fix Excel Arrow Keys Scrolling The Sheet (2026)
- How To Fix Excel Column Headings Showing Numbers (2026)
- Excel Error: There Isn't Enough Memory To Complete This Action
- How To Wrap Text And Merge Cells In Excel (2026)