Shortcut for Searching in Excel? Ctrl+F and More

How-to basics · Updated November 23, 2026

The fastest shortcut for searching in Microsoft Excel is Ctrl+F (or Control+F on a Mac), which opens the Find and Replace dialog box with the Find tab active. For a more powerful search that includes formulas, comments, and formatting, press Ctrl+Shift+F (or Control+Shift+F on a Mac) to open the same dialog with advanced options expanded. These shortcuts work in Excel for Microsoft 365, Excel 2021, 2019, and earlier versions on Windows and Mac.

Why Ctrl+F Is Only the Beginning

Ctrl+F is the universal shortcut for finding text in most applications, but Excel’s Find feature is deceptively deep. By default, it searches the current worksheet for values that match your entry exactly, ignoring case and cell formatting. However, you can expand it to search entire workbooks, look for partial matches, or even search within formulas, comments, and hidden cells. The dialog box is your gateway to these options, but many users never click the “Options” button to see them.

How to Use the Find Shortcut Effectively

Here are the steps to get the most out of the basic search:

  • Press Ctrl+F to open the Find and Replace dialog.
  • Type your search term in the “Find what” field.
  • Click “Find Next” to jump to the next occurrence, or “Find All” to list all matches in a pane below the dialog.
  • To search the entire workbook instead of just the current sheet, click “Options” and change “Within” from “Sheet” to “Workbook”.
  • To match the entire cell content (e.g., find “123” but not “1234”), check the “Match entire cell contents” box.
  • Press Esc or click “Close” to exit the dialog.

For a quick search without the dialog, you can also use the keyboard shortcut Ctrl+F followed by typing—Excel will highlight matches as you type in the Find box, but only if you’re in the dialog. There is no live search-as-you-type in Excel like in a browser, so the dialog is the primary method.

Advanced Search Options You Might Miss

Click the “Options” button in the Find and Replace dialog to reveal several powerful settings:

  • Within: Choose “Sheet” or “Workbook” to limit the search scope.
  • Search: “By Rows” or “By Columns” changes the order in which Excel scans cells.
  • Look in: Select “Formulas”, “Values”, or “Comments” to search in different parts of a cell. Searching “Formulas” will find text inside formulas (e.g., a function name), while “Values” searches the displayed result.
  • Match case: Check this to make the search case-sensitive (e.g., “abc” will not match “ABC”).
  • Match entire cell contents: As mentioned, this restricts matches to cells that exactly equal your search term.
  • Format: Click this button to search for cells with specific formatting (e.g., bold text, a fill color, or a number format). This is useful for finding all highlighted cells.

For example, to find all cells with a yellow fill, press Ctrl+F, click Options, click the Format button, choose the Fill tab, select yellow, and click Find All. Excel will list every cell with that fill color.

Searching with Wildcards and Special Characters

Excel supports wildcards in your search term, which can save time when you don’t know the exact text:

  • * (asterisk) matches any sequence of characters. For example, searching “A*” finds “Apple”, “A1”, and “A”.
  • ? (question mark) matches any single character. Searching “B?d” finds “Bad”, “Bid”, and “Bud”.
  • ~ (tilde) escapes a wildcard. To find an actual asterisk, type “~*” in the Find what field.

Note that wildcards work only when searching for text, not numbers. If you need to find a literal question mark, use “~?” as your search term.

Common Problems and How to Fix Them

Many users run into issues when searching in Excel. Here are the most common ones:

  • Search not finding anything: Check the “Within” setting—if it’s set to “Sheet” and you’re on the wrong sheet, you’ll miss matches. Also, ensure “Match entire cell contents” is unchecked unless you really need exact matches.
  • Searching for numbers with formatting: If you search for “1000” but the cell is formatted as “$1,000.00”, Excel will not find it unless you change “Look in” to “Values” and type “1000” (without the currency symbol). Actually, Excel matches the underlying value, so searching “1000” will find it even if displayed as $1,000.00. But if you search for “$1,000”, it won’t match.
  • Finding partial matches in formulas: By default, Excel searches formulas, so if you search for “SUM”, it will find cells containing SUM functions. If you want to find only displayed values, switch “Look in” to “Values”.
  • Ctrl+F not working: This can happen if the workbook is protected or if a macro has overridden the shortcut. Try using the Ribbon: Home > Find & Select > Find. If that works, check for macro interference.

Alternatives to Ctrl+F: Go To and Special

For certain types of searches, the “Go To” feature is faster. Press Ctrl+G (or F5) to open the Go To dialog, which lets you jump to a specific cell address or a named range. More powerfully, click “Special” to select cells based on their content or formatting:

  • Blanks: Selects all empty cells in the current range.
  • Constants: Selects cells with values that aren’t formulas.
  • Formulas: Selects cells with formulas, with options to include numbers, text, logicals, or errors.
  • Conditional formats: Selects cells with conditional formatting applied.

For example, to find all cells with errors, press Ctrl+G, click Special, choose “Formulas” and check “Errors”, then click OK. Excel selects every error cell, and you can then press Tab to cycle through them.

Searching in Google Sheets vs. Excel

If you’re using Google Sheets, the shortcut is the same: Ctrl+F (or Command+F on Mac) opens a search box in the top-right corner. However, Sheets lacks the advanced options dialog that Excel has. To search within formulas or comments in Sheets, you must use the Find and Replace feature (Ctrl+H) or the menu Edit > Find and replace, which offers a “Search” dropdown to choose between “All sheets”, “This sheet”, and “Specific range”. Sheets also supports wildcards, but the options are more limited. For most users, Ctrl+F in Sheets is sufficient for quick text searches.

Frequently Asked Questions

How do I search for a value across all sheets in a workbook?
In Excel, press Ctrl+F, click Options, and set “Within” to “Workbook”. Then click “Find All” to see a list of all matches with their sheet and cell references. In Google Sheets, use Edit > Find and replace, then select “All sheets” from the “Search” dropdown.

Can I search for a cell color or font color?
Yes, in Excel. Open the Find dialog, click Options, then click the Format button. Go to the Fill tab to search for a background color, or the Font tab to search for a font color. In Google Sheets, you cannot search by color directly; you’d need to use a filter or a script.

Why does Ctrl+F only search the current sheet?
By default, Excel limits the search to the active sheet. To change this, open the Find dialog, click Options, and set “Within” to “Workbook”. This setting persists for the session, so you may need to reset it if you want sheet-only searches later.

How do I find and replace with a shortcut?
The shortcut for Find and Replace is Ctrl+H (or Control+H on Mac). This opens the same dialog but with the Replace tab active. You can type the find text and the replacement text, then click “Replace All” to change all occurrences at once. Be careful: Replace All cannot be undone with Ctrl+Z in some cases if you close the dialog, so it’s wise to save your workbook first.

Is there a way to search for text in comments?
Yes, in Excel. In the Find dialog, click Options, then set “Look in” to “Comments”. This searches the text of cell comments. In Google Sheets, comments are not searchable with the standard find; you’d need to export or use a script.

Can I search for a number with a specific format, like dates?
Yes, you can search by format. For example, to find all cells with a date format, open the Find dialog, click Options, click Format, go to the Number tab, and select “Date”. Then click Find All. This finds cells formatted as dates, regardless of the actual date value.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.