Cellwise Start free

Excel guide · 5 min read

Excel Find and Replace not working: 8 fixes

Quick answerIf Excel says "We couldn't find what you were looking for", click one single cell first (a selected range limits the search), open Options, and check Within (Sheet or Workbook), Look in (Formulas or Values) and Match entire cell contents. Numbers are stored without their formatting, so search 1200, not 1,200, unless Look in is set to Values.

Sample data

Every result on this page was calculated from this sheet by the same spreadsheet engine the Cellwise app uses.

ABCDEF
1SKUProductPriceStockStock valueNote
2CB-100Cable 2m4.5120540
3CB-200Cable 5m7.2580580
4AD-310USB-C adapter1245540
5HB-400Hub 4-port*2930870*Ships from supplier
6PL-120Plug, UK3.9200780
7PL-121Plug, EU3.912004680
8LS-500Laptop stand3425850
9CB-300Cable 10m11.560690

Download this sheet as an Excel practice file (.xlsx)

1. Only part of the sheet is searched

If more than one cell is selected when you press Ctrl+F or Ctrl+H, Excel searches only the selection. That's handy on purpose and maddening by accident: you selected a column a minute ago, and now Find can't see the product two columns over.

Click a single cell, then search again. Do the opposite when you want to limit a Replace: select just the column first, so replacing "Cable" can't touch a note somewhere else.

2. The value is on another sheet

Within: Sheet searches the active sheet only. Click Options and set Within to Workbook to search every sheet. Find All then lists each match with its sheet and cell, and clicking a line jumps there.

Grouped sheets work the other way. If several tabs are selected ([Group] in the title bar), Replace changes all of them. Ungroup first unless that's what you want.

  1. Press Ctrl+F and click Options.
  2. Set Within to Workbook.
  3. Click Find All to see every match on every sheet.

3. Formatted numbers and dates aren't found

Plug, EU has 1200 in stock. With a thousands separator it shows as 1,200, but the cell stores 1200. With Look in set to Formulas, Excel searches what's stored, so 1,200 finds nothing and 1200 works. With Look in set to Values, it searches what the cell shows, so 1,200 works.

Dates are the same: the cell stores a date serial number and shows a format. Search with Look in: Values and type the date the way it's displayed. The TEXT function shows the displayed version of a value, which tells you what to type.

=TEXT(D7,"#,##0")

Result: 1,200

"1,200": what the cell shows, while the cell itself stores 1200.

4. Formula results can't be found or replaced

Stock value in column E is a formula, =C2*D2. The cell shows 540, but it holds the formula. Find with Look in: Formulas searches the formula text, so 540 isn't found. Switch Look in to Values to find results.

Replace has no Values option: its Look in list only offers Formulas, because Excel can't overwrite a result without overwriting the formula. To change results, change the inputs, or copy the column and paste it as values first if you really want static numbers.

The flip side: Replace does change text inside formulas. Replacing "C" with "D" across a sheet rewrites every formula that refers to column C. Select only the cells you mean to change before replacing anything short.

=E2

Result: 540

540: the result shown in E2. Find only sees it with Look in set to Values.

5. "Match entire cell contents" or Match case is still on

Find remembers the options from your last search. With Match entire cell contents ticked, searching Cable finds nothing, because no cell is exactly "Cable". With Match case ticked, cable doesn't find Cable.

Open Options and untick both unless you need them. The reverse matters for Replace: replacing 12 with 15 without Match entire cell contents also turns 120 into 150 and 1200 into 1500. Tick it when you replace whole numbers.

6. Wildcards find (or replace) too much

In Find, * means any characters and ? means one character, the same as in COUNTIF. "Cable*" finds the three cables. But it also means a search for * matches every cell, and Replace All with * in Find what wipes the lot.

To find a real asterisk, like the footnote mark on "Hub 4-port*", put a tilde in front: ~*. The same goes for ~? and ~~. The two COUNTIF formulas below behave the way Find does, so you can test a pattern before a Replace All.

=COUNTIF(B2:B9,"Cable*")

Result: 3

3: the three products that start with Cable. =COUNTIF(B2:B9,"*~**") returns 1, the one name with a real asterisk.

7. Spaces, line breaks and hidden cells

Text pasted from a web page often has non-breaking spaces between words. They look like spaces but aren't, so "Laptop stand" with a normal space won't match. On Windows, type one in Find what by holding Alt and typing 0160 on the number pad, or replace them with a formula as the remove spaces guide shows.

For line breaks inside a cell (Alt+Enter), click in Find what and press Ctrl+J. The box looks empty but holds the break. Replace it with a space to join two-line cells.

Searching Values can skip cells in hidden rows and columns. Unhide everything, or search with Look in: Formulas, which also looks in hidden cells.

8. Replace fails on a protected sheet, or use a formula

On a protected sheet, Replace stops with a message that the cell is on a protected sheet. Unprotect it with Review > Unprotect Sheet, or ask whoever set the password.

When you want the original kept, replace with a formula instead. SUBSTITUTE replaces text in a copy, so you can check the result before pasting it back as values.

=SUBSTITUTE(B2:B9,"Cable","USB cable")

Result: spills 8 rows × 1 column

USB cable 2m
USB cable 5m
USB-C adapter
Hub 4-port*
Plug, UK
Plug, EU
Laptop stand
USB cable 10m

Spills the eight names with "Cable" changed to "USB cable" in the three cable rows; the original column is untouched.

Common mistakes

Searching with a range still selected

Click one cell first so the whole sheet is searched.

Typing the formatted number

Search what's stored (1200), or set Look in to Values and type what's shown.

Replace All with a short or wildcard search

Tick Match entire cell contents, select only the target cells, and test the pattern with COUNTIF first.

Forgetting options from the last search

Open Options every time and check Within, Look in, Match case and Match entire cell contents.

FAQ

Why does Excel say it can't find something that's there?

Usually a range is selected, Within is set to Sheet, Look in is Formulas while you search a displayed value, or Match entire cell contents is ticked. Click one cell and check the Options.

Why can't I find numbers in Excel?

The number is formatted, so the cell shows 1,200 but stores 1200. Search 1200, or set Look in to Values and type it as shown.

How do I find an asterisk in Excel?

Type ~* in Find what. The tilde tells Excel to treat the asterisk as a character instead of a wildcard.

Why is Values missing from Look in when I replace?

Replace only works on what's stored in the cell. A formula result can't be replaced without replacing the formula, so the Replace tab only offers Formulas.

Functions used

Related guides

Updated