Excel gives you several search tools, and which one to use depends on what you want to do. To jump to a word or value, press Ctrl+F (Cmd+F on Mac), type your text and press Enter or click Find Next. To narrow a whole table down to matching rows, use Data > Filter and type in the column's search box. To pull a value from another row or sheet, use XLOOKUP or VLOOKUP. The steps below cover each in order, from the quickest search to the more powerful lookup formulas. Menu labels can differ slightly between Excel versions, platforms and languages, so if a name does not match exactly, look for the closest equivalent in the same place.

What You'll Need

  • Excel for Windows, Mac, the web or mobile. The keyboard shortcut and basic Find work everywhere; a few dialog options look different on Mac and on the web version.
  • A workbook with data loaded, ideally arranged with a header row at the top of each table.
  • No add-ins or special settings for the basic tools. XLOOKUP requires a version of Excel that includes it; older versions should use VLOOKUP or INDEX and MATCH instead.

Step-by-Step

Find a value quickly with Ctrl+F

  1. Click any cell in the sheet you want to search, then press Ctrl+F on Windows or Cmd+F on Mac. On the web version, Ctrl+F opens the Find dialog inside the sheet rather than the browser's page search.
  2. Type the word, number or part of a value into the Find what box.
  3. Click Find Next to jump to the first match, and click it again to cycle through the rest. Close the dialog with Escape or the X; the cell you landed on stays selected.
  4. Click Options inside the dialog to control how matching works. Match case makes the search case-sensitive. Match entire cell contents stops Excel from finding partial matches, so searching "Ann" no longer stops on "Anna". Within lets you choose the sheet or the whole workbook. Look in lets you search values, formulas or comments.
  5. Use Find All instead of Find Next when you want a list of every match at once. The results appear in a pane below the search box; click any row to select that cell, or press Ctrl+A in the list to select all matching cells together.

Find and replace in one go

  1. Press Ctrl+H (Cmd+H on Mac) to open Replace. It is the same dialog with an extra Replace with field.
  2. Enter what to look for and what to put in its place, then use Find Next and Replace to work one match at a time, or Replace All to change every match in the chosen range or sheet.
  3. Before using Replace All on a whole workbook, save a copy or undo with Ctrl+Z straight after if the result is wrong. Replace All is the single easiest way to wreck a spreadsheet, because a short search term will hit values you never considered.

Search a column with AutoFilter

  1. Select a cell inside your table and go to Data > Filter. Drop-down arrows appear in the header row.
  2. Click the arrow on the column you want to search. A menu opens with a search box at the top.
  3. Type part of a value into that box. The list below filters as you type, showing only matching entries.
  4. Tick the boxes for the entries you want and click OK. Rows that do not match are hidden, not deleted.
  5. To clear the filter, open the same menu and choose Clear Filter from followed by the column name, or go to Data > Clear.

Look up a value from another row or sheet

  1. Set up a cell to hold your search term and a cell to hold the result.
  2. In the result cell, type =XLOOKUP( and fill in the lookup value, the range to search, and the range to return. For example, to find the price of the item named in cell H2 when names are in A2:A100 and prices in C2:C100: =XLOOKUP(H2,A2:A100,C2:C100).
  3. Press Enter. XLOOKUP returns the first match and returns an error if nothing is found.
  4. On older versions, use VLOOKUP with the lookup column first and the return column counted from it: =VLOOKUP(H2,A2:C100,3,FALSE). The FALSE at the end forces an exact match, which is almost always what you want.
  5. To search across several columns or return "not found" instead of an error, wrap the formula: =IFERROR(XLOOKUP(H2,A2:A100,C2:C100),"Not found").

Common Mistakes

  • Searching a hidden sheet by accident. If Within is set to Sheet, a match on another tab will never appear. Switch Within to Workbook, or switch to that sheet first.
  • Forgetting Match entire cell contents is still ticked. It stays set until you untick it, and it silently causes zero results for partial searches.
  • Replace All on the whole workbook. A short term such as a common letter or number fragment will alter formulas and unrelated cells. Scope the operation to a selected range where possible.
  • VLOOKUP with a lookup column that is not first. VLOOKUP cannot look to the left of the column it searches. Use XLOOKUP or INDEX and MATCH instead.
  • Using approximate match by accident. Leaving VLOOKUP's fourth argument out or setting it to TRUE returns the nearest smaller value rather than the exact one, which produces quietly wrong numbers.
  • Assuming a filter search finds hidden text. Filter searches the visible values in that column only, not formulas or comments.

Tips

  • Searching for wildcards is supported in the Find dialog and in the filter search box: ? stands for one character, * for any number of characters. To find a literal question mark or asterisk, put a tilde in front, like ~*.
  • Press Ctrl+F again after closing the dialog and Excel remembers your last search term, which makes repeat searches faster.
  • Convert your range to a table with Ctrl+T before filtering. Filters then cover new rows automatically as you add them, and the header search box is easier to find.
  • For repeated lookups, put the search term in one clearly labelled cell and reference it in the formula rather than typing values into the formula itself. That way one edit updates every result.
  • Use Find All to inspect matches before you edit. The results pane shows each cell's content, so you can confirm you are about to change the right rows.
  • On mobile, tap the search icon in the Excel app's toolbar to search inside the open workbook. It is a straightforward text search, not a full replacement for desktop filter options.

Troubleshooting

Find returns nothing but you can see the text. Check that Match entire cell contents is unticked, that Within is set to Workbook, and that Look in includes the place the text lives (for example Comments). Cells formatted as text with a leading apostrophe will match on the visible text, but a number stored as text will not match a plain number search unless you search exactly as stored.

Search finds a value in the formula bar but not on screen. The cell may be formatted with white text, hidden columns or zero-width characters. Widen the columns and check the font colour before assuming the data is missing.

Lookup formula returns #N/A. The two ranges are usually different sizes, the lookup value has a trailing space, or the value genuinely is not there. Wrap the formula in IFERROR for a clean message and use TRIM to strip stray spaces.

Replace did nothing. The operation may have been limited to the current selection. Press Ctrl+A on the sheet or clear a selected range first, then run Replace again.

The file is slow to search. Very large workbooks can take a while. Restrict the search to a selected range or a single sheet, and close other workbooks first.

If none of that helps, close and reopen the file, then try the same search in a new blank workbook with a small sample of the data. That tells you whether the problem is the file or the search settings.

Frequently Asked Questions

Can I search for a formula rather than its result?

Yes. In the Find dialog, open Options and set Look in to Formulas. Excel then matches the formula text itself, such as part of a function name or a cell reference.

Why does Ctrl+F open my browser's search instead of Excel?

In Excel for the web, Ctrl+F searches inside the sheet. In other browser tabs it searches the page. Make sure the spreadsheet itself has focus by clicking a cell before pressing the shortcut.

Does search work across multiple sheets at once?

Find can search the whole workbook when Within is set to Workbook. Filters only ever act on the table on the current sheet, so use Find All or a lookup formula for cross-sheet work.

How do I find duplicate entries?

Select the column, then go to Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values. Alternatively, use COUNTIF to count how many times each value appears, for example =COUNTIF(A:A,A2).

Can I find text in comments or notes?

Yes, in the Find dialog's Options set Look in to Comments. The exact label and what it covers varies by Excel version, so if it does not appear, search the cell values instead.

Is Ctrl+F the same on Mac?

On Mac the shortcut is Cmd+F and the dialog looks slightly different, but Find Next, Find All and the Options settings do the same jobs.