To search in Excel, press Ctrl+F, type the word or number in Find what, and select Find All or Find Next.
This guide covers the Find dialog and its options, wildcard characters, Replace, searching a whole workbook or by format, the SEARCH, FIND and XLOOKUP functions, Excel for Mac and the web, and fixes when Find returns nothing.

How to search in Excel with Ctrl+F
These steps work in Excel for Microsoft 365, Excel 2024, 2021 and older desktop versions on Windows.
- Select any single cell to search the whole sheet, or select a range to search only that range.
- Press Ctrl+F. The Find and Replace dialog opens on the Find tab.
- Type the text or number in the Find what box.
- Select Find Next to jump to the first match, then select it again to move to the next one.
- Select Find All instead to list every matching cell at the bottom of the dialog.
- Select an entry in the list to jump straight to that cell, then press Esc to close the dialog.
Using Find in Excel
The ribbon route reaches the same dialog as the shortcut and is easier to remember if you rarely use Excel keyboard shortcuts.
The Find All list shows every matching cell, and you can sort it by selecting a column heading.
- Open the Home tab.
- In the Editing group, select Find & Select > Find.
- Enter your search term in Find what, or pick a recent search from the drop-down arrow beside the box.
- Select Options>> to show the extra search settings.
- Set Within, Search and Look in to match what you are looking for (the table below explains each one).
- Select Find All to list the matches, or Find Next to step through them one at a time.
Select an entry in the Find All list to select that cell on the sheet, ready to edit.

Excel Find options: Within, Look in and Match case
Most failed searches come from one of these settings, so it pays to know what each one changes.
| Option | Choices | What it changes |
|---|---|---|
| Within | Sheet or Workbook | Searches only the active sheet, or every sheet in the file |
| Search | By Rows (default) or By Columns | The order in which Find Next moves through cells |
| Look in | Formulas, Values, Notes or Comments | Formulas searches what you typed in the cell; Values searches the displayed result; Notes and Comments search those boxes |
| Match case | On or off | Finds only matches with the same upper and lower case letters |
| Match entire cell contents | On or off | Finds only cells whose whole content equals the search term, not cells that merely contain it |
| Format | Format or Choose Format From Cell | Limits the search to cells with a given font, fill, border or number format |
Look in appears only on the Find tab. The Replace tab always searches formulas.
Excel search wildcard characters
Wildcards let one search term match many cells. They work in the Find what box, in text filters, in conditional formatting rules and in the SEARCH and XLOOKUP functions.
| Wildcard | Matches | Example | Finds |
|---|---|---|---|
| ? (question mark) | Any single character | sm?th | smith and smyth |
| * (asterisk) | Any number of characters | *east | Northeast and Southeast |
| ~ (tilde) before ?, * or ~ | The literal character | fy06~? | fy06? |
Combine wildcards with Match entire cell contents to find cells that start or end with a term: north* with that option on finds cells that begin with north and nothing else.
Using Replace in Excel
Replace swaps matches for new text in one pass, so review one match with Find Next before you change them all.
- Press Ctrl+H, or select Home > Find & Select > Replace.
- Type the text to change in Find what.
- Type the new text in Replace with. Leave it empty to delete the matched text.
- Select Options>> and set Within, Match case or Match entire cell contents if the change should be narrow.
- Select Find Next to review the first match, then select Replace to change only that cell.
- Select Replace All to change every match at once.

How to search all sheets in Excel at once
By default, Find looks only at the active sheet, so a value on another tab is never found until you widen the search.
- Press Ctrl+F.
- Select Options>>.
- Change Within from Sheet to Workbook.
- Type the search term in Find what.
- Select Find All. The list includes matches from every sheet, and selecting one opens that sheet at the cell.
Once Find All has selected the rows you need, you can move rows in Excel to group them together.
How to find cells by format in Excel
Searching by format finds cells that share a fill colour, font or number format, even when their contents differ.
- Press Ctrl+F and select Options>>.
- Clear the Find what box so the search matches on format alone.
- Select the arrow beside Format, then select Choose Format From Cell.
- Click a cell that has the format you want to find.
- Select Find All to list every cell with that format.
Excel keeps the format criteria for the next search. Open Format again and reset it when you go back to searching by text alone.
Using functions to search in Excel
Formulas search inside a cell or a list and update automatically when the data changes, which the Find dialog cannot do.
| Function | Syntax | Returns |
|---|---|---|
| SEARCH | SEARCH(find_text, within_text, [start_num]) | Position of the text inside a cell, ignoring case |
| FIND | FIND(find_text, within_text, [start_num]) | Position of the text inside a cell, matching case |
| XLOOKUP | XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode]) | A value from the matching row |
| INDEX and MATCH | INDEX(table, MATCH(value, lookup_array, 0), column) | A value from the matching row, in any column |
| FILTER | FILTER(array, include, [if_empty]) | Every row that meets a condition |
SEARCH accepts the ? and * wildcards, and XLOOKUP accepts them when match_mode is 2. FILTER returns a #CALC! error when nothing matches unless you fill in if_empty.
SEARCH and FIND both return #VALUE! when the text is missing, when start_num is 0, or when start_num is larger than the length of the cell.
For lookups in older versions without XLOOKUP, VLOOKUP in Excel returns a value from a column to the right of the match.

How to check if a cell contains text in Excel
SEARCH returns a number when it finds the text, so wrapping it in ISNUMBER turns the result into TRUE or FALSE. IF then shows a label of your choice.
- Click the first empty cell next to your data, for example B2 beside A2.
- Type
=ISNUMBER(SEARCH("invoice",A2))and press Enter to get TRUE or FALSE. - Type
=IF(ISNUMBER(SEARCH("invoice",A2)),"Yes","No")instead to show Yes or No. - Replace SEARCH with FIND in either formula when upper and lower case must match.
- Drag the fill handle down the column to test every row.

Excel SEARCH function examples
These formulas use a sample where A2 holds Statements, A3 holds Profit Margin and A4 holds margin.
| Formula | What it does | Result |
|---|---|---|
| =SEARCH("e",A2,6) | Position of the first e in A2, starting at character 6 | 7 |
| =SEARCH(A4,A3) | Position of margin inside Profit Margin, ignoring case | 8 |
| =REPLACE(A3,SEARCH(A4,A3),6,"Amount") | Swaps Margin for Amount | Profit Amount |
| =MID(A3,SEARCH(" ",A3)+1,4) | Returns the four characters after the first space | Marg |
Excel XLOOKUP wildcard search
XLOOKUP is available in Excel for Microsoft 365, Excel 2024, Excel 2021 and Excel for the web. It is not available in Excel 2019 or 2016.
- Type the partial search term in a cell, for example F2.
- Click the cell where the answer should appear.
- Type
=XLOOKUP("*"&F2&"*",B2:B11,D2:D11,"Not found",2)and press Enter. - Change B2:B11 to the column you are searching and D2:D11 to the column that holds the answer.
- Edit F2 to search for a different term; the result updates at once.
The final 2 sets match_mode to wildcard match. Without it, the asterisks are treated as literal characters and nothing is found.
How to search in Excel on Mac
Excel for Mac has both a search bar and the full Find dialog.
- Select one cell to search the whole sheet, or select a range to search only that range.
- Press Command+F, or select the magnifying glass, to open the search bar.
- Type the search term and press Return. Press Return again for the next match.
- Select the magnifying glass to switch between Search in Sheet and Search in Workbook.
- Select Advanced to open the Find dialog with Find All, Match case and Match entire cell contents.
- Press Control+H, or select Home > Find & Select > Replace, to replace text.

How to search in Excel for the web
Excel for the web uses the same shortcuts but offers fewer options than the desktop app.
| Feature | Excel desktop (Windows) | Excel for the web |
|---|---|---|
| Open Find | Ctrl+F or Home > Find & Select > Find | Ctrl+F or Home > Find & Select > Find |
| Open Replace | Ctrl+H | Ctrl+H |
| Where to search | Sheet or Workbook | Selection, Sheet or Workbook |
| Direction | By Rows or By Columns | Down or Up |
| Look in (Values, Notes, Comments) | Yes | No |
| Search by format | Yes | No |
| Match case and entire cell | Yes | Yes |
Select > Search Options in the web dialog to show Within, Direction, Match case and Match entire cell contents.
Excel find not working
Ctrl F not finding in Excel when the value is visible
Look in is set to Formulas, but the cell shows a calculated result or a number format such as a currency symbol.
- Press Ctrl+F and select Options>>.
- Change Look in to Values.
- Search again with Find All.
Excel find stopped working and finds only some matches
A range is selected, Within is set to Sheet, or Match entire cell contents is on.
- Click a single cell so the search covers the whole sheet.
- Set Within to Workbook if the data is on other tabs.
- Clear Match entire cell contents and Match case.
- Open Format and reset it if an earlier format search is still active.
Find and replace not working in Excel
Replace searches formulas only, so values produced by a formula are not changed, and narrow options can skip cells.
- Replace the text in the source cells that the formula reads from.
- Open Options>> and clear Match entire cell contents unless you need it.
- Select Find All on the Find tab first to confirm the term is present.
Excel cannot find an asterisk or question mark
Excel treats * and ? as wildcards, so they match everything instead of the character itself.
- Type a tilde before the character, for example
~*or~?. - Select Find All to list only cells that contain that character.
Excel search FAQ
What does Ctrl+F do in Excel?
Ctrl+F opens the Find and Replace dialog on the Find tab in Excel for Windows and Excel for the web. Type a word or number in Find what, then select Find Next or Find All to locate it. On a Mac, press Command+F for the search bar or Control+F for the dialog.
How do you find and replace in Excel?
Press Ctrl+H, type the old text in Find what and the new text in Replace with, then select Replace All. Select Replace instead to change one match at a time, and use Options to restrict the change to whole cells or matching case.
How do you find and replace text in Excel across every sheet?
Press Ctrl+H, select Options, and change Within from Sheet to Workbook before you select Replace All. Excel then changes matching text on every sheet in the open file, not just the active one.
Why is find and replace not working in Excel?
The Replace tab searches formulas only, so text produced by a formula is not replaced. Match entire cell contents, Match case or a selected range can also skip cells. Clear those options and change the source cells the formula reads from.
Why is Ctrl F not finding in Excel?
Look in is usually set to Formulas while the cell displays a calculated or formatted value. Change Look in to Values, click a single cell so the whole sheet is searched, and set Within to Workbook if the data is on another sheet.
Can you use wildcards in an Excel search?
Yes. A question mark matches any single character and an asterisk matches any number of characters. Put a tilde before either one to search for the character itself, for example fy06~? to find fy06?.
Is the Excel SEARCH function case sensitive?
No. SEARCH ignores case and accepts wildcards. Use FIND when the match must respect upper and lower case; FIND takes the same arguments but returns #VALUE! when the case differs.
How do you use VLOOKUP in Excel to find matches?
Use =VLOOKUP(lookup_value, table_array, col_index_num, FALSE). Excel searches the left-most column of the table for the value and returns the entry from the column number you give in the same row. FALSE forces an exact match.





