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

TaskShortcutRibbon path
FindCtrl+FHome > Editing > Find & Select > Find
ReplaceCtrl+HHome > Editing > Find & Select > Replace
Find on MacControl+F, or Command+F for the search barHome > Find & Select
Replace on MacControl+HHome > Find & Select

Find text or numbers

  1. Press Ctrl+F, or go to Home > Editing > Find & Select > Find.
  2. Type your text or numbers in the Find what box, or pick a recent search from its drop-down list.
  3. 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

  1. Press Ctrl+H, or go to Home > Editing > Find & Select > Replace.
  2. Type the text to look for in Find what, and the new text in Replace with.
  3. 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

OptionChoices and effect
WithinSearches the Sheet or the entire Workbook
SearchGoes By Rows (the default) or By Columns
Look inSearches Formulas, Values, Notes or Comments; on the Replace tab only Formulas is offered
Match caseFinds only text with the same capitalization
Match entire cell contentsFinds only cells whose whole content equals your search text
FormatSearches 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

CharacterMeaningExample
?Any single characters?t finds sat and set
*Any number of characterss*d finds sad and started
~Treat the next ?, * or ~ as a normal characterfy91~? 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

  1. Press Ctrl+F and select Options>>.
  2. Open the Format drop-down.
  3. 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.

KeyWhat it does
Alt+TOpens the extra options such as Within, Search, Look in, Match case and Match entire cell contents
Alt+MOpens Find Format on the Find tab
EnterMoves to the next match after the first Find next
Shift+TabMoves back to the Replace and Replace all buttons
EscCloses 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.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *