Find and replace in Excel

Excel 365
You can instantly find and edit data and text without manually combing through printed or handwritten pages while working with documents or spreadsheets on your computer or laptop. Word provides a convenient "find and replace" feature that allows you to use wildcards.

Excel, like most common applications, supports Find and Replace functionality.


Find in Excel

To open the Find and Replace dialog box to search for, do one of the following:

  • On the Home tab, in the Editing group, click the Find & Select button:
    Find & Select in Excel 365

    From the Find & Select dropdown list, choose Find...:

    Find in Excel 365
  • Click Ctrl+F.

Excel opens the Find and Replace dialog box with the Find tab opened:

Find in Find and Replace dialog box Excel 365

In the Find and Replace dialog box, on the Find tab:

  • In the Find what field, type a text you want to find
  • Click the Find Next button to show the next search result
  • Click the Find All button to display search results in the list at the bottom of the dialog box. For example:
    Find All example in Excel 365

    You can click an item in the list to navigate to the cell in context. To select all the cells in the list, first, select any single item in the list, then press Ctrl+A to select them all.

  • Click the Options >> button to refine the search criteria:
    Options in Find and Replace dialog box Excel 365
    • Click the Format... button to find the cell with needed formatting:
      Format in Find and Replace dialog box Excel 365
      • Select Format... from the list to set formatting options like Number formatting, Alignment (left, right, center, etc.), Font, colors, and Protection:
        Find Format dialog box in Excel 365

        For example, to find all cells with Accounting format marked in green:

        Find Format example in Excel 365
      • Select Choose Format From Cell to select a cell with the format you want to search. Excel changes the cursor to the Picker and proposes to select the cell with the format you would like to find:
        Picker for Find Format example in Excel 365

        After selecting a cell, Excel returns to the Find and Replace dialog box to continue customization.

      • Select Clear Find Format if needed to clear selected formats.
    • In the Within dropdown list, select where you want to search: only in the active sheet (by default) or in the entire workbook:
      Within dropdown list in Find and Replace Excel 365
    • In the Search dropdown list, set the search order for data: by rows (by default) or by columns:
      Search dropdown list in Find and Replace Excel 365
    • In the Look in dropdown list, specify the type of data where you want to search: in formulas (by default), in values, in notes or comments:
      Look in dropdown list in Find and Replace Excel 365

    For example:

    • If the Formulas is selected, searching for 4 doesn't find a cell with a formula that returns 4, unless the formula itself contains 4:
      Find Formulas in Find and Replace Excel 365
    • If the Values is selected, searching for 4 find both cells with the value 4 and with the formula result of 4:
      Find Values in Find and Replace Excel 365
  • The Match case option:
    • Select the Match case option if the searched text must match exactly. For example, searching OfficeToolTips does not locate officetooltips and Officetooltips.
    • Unselect the Match case option to find all variants of the searched text, regardless of case.
  • The Match entire cell contents option:
    • Select the Match entire cell contents option if the cell must contain only the searched text and nothing else.

      Note: When using wildcards, an exact match is not required.

    • Unselect the Match entire cell contents option if the cell can contain any data with the searched text.

Wildcards in Excel

The Find and Replace dialog box supports two wildcard characters:

? – question mark - matches any single character.

For example, 1?3 finds all three-digit amounts that begin with 1 and end with 3.

* - asterisk - matches any number of characters.

For example:

  • 3* finds all amounts that begin with 3,
  • *00 finds all values that end with two zeros.

Find and replace

To open the Find and Replace dialog box in the search and replace mode, do one of the following:

  • On the Home tab, in the Editing group, click the Find & Select button:
    Find & Select in Excel 365

    From the Find & Select dropdown list, choose the Replace... command:

    Repalce in Excel 365
  • Click Ctrl+H.

Excel opens the Find and Replace dialog box with the Replace tab active:

Replace in Find and Replace dialog box Excel 365

In the Find and Replace dialog box, on the Replace tab:

  • In the Find what field, type a text you want to find
  • In the Replace with field, enter the text you want to replace the found text
  • Click the Replace All button to replace all search results
  • Click the Replace to replace only one result and go to the next.

Note: Other options are the same as the Find tab, see more about them above.

Please, disable AdBlock and reload the page to continue

Today, 30% of our visitors use Ad-Block to block ads.We understand your pain with ads, but without ads, we won't be able to provide you with free content soon. If you need our content for work or study, please support our efforts and disable AdBlock for our site. As you will see, we have a lot of helpful information to share.