Function Problems

How to Fix Excel Find Treating IF Formula Results as Zero

Steve KSteve K Oct 26, 2026 868 views

Question details

The user is attempting to find the value '0' in a spreadsheet, but the Find tool incorrectly returns every cell containing an IF formula, even those returning an empty string.

How to Fix Excel Find Treating IF Formula Results as Zero
Product
Excel
Device & OS
not provided
Scenario
Searching for specific numerical values in a worksheet populated with IF formulas that return either an empty string or a zero.
Observed behavior
The Find function incorrectly highlights cells containing IF formulas as if their output were zero, potentially due to incorrect search parameters or isolated workbook corruption.
Before you start

Ensure you have saved your current workbook and identify whether this search issue is happening across all your Excel files or just one specific worksheet.

Solution 1Recommended

Change the 'Look in' Setting to Values

Adjusting the Find and Replace dialog to search within the cell values rather than underlying formulas prevents the tool from matching the formula string itself.

By default, Excel's Find tool is set to look inside 'Formulas'. When you search for '0', Excel may read the underlying IF formula logic instead of the visible output. Switching this setting to 'Values' forces Excel to only search the final displayed results.

1
Open Find and Replace

Press Ctrl + F on your keyboard, or go to the Home tab and click on Find & Select > Find.

2
Expand Search Options

Click the 'Options >>' button in the Find and Replace dialog box to reveal advanced search settings.

3
Modify the 'Look in' Dropdown

Locate the 'Look in' dropdown menu and change the selection from 'Formulas' to 'Values'.

4
Execute the Search

Enter '0' in the 'Find what' field and click 'Find Next' or 'Find All' to get accurate results.

Change the 'Look in' Setting to Values
Pro Tip: If you want to ensure you are only finding cells where the exact value is '0', check the box for 'Match entire cell contents'.
Search Data Easily in WPS Spreadsheet

Use WPS Spreadsheet for Accurate Data Searching

WPS Spreadsheet offers an intuitive Find and Replace tool that lets you effortlessly switch between searching in formulas or values, ensuring you always find the exact data you need without complicated troubleshooting.

  1. 1. Open Your Workbook: Launch WPS Office and open your spreadsheet file.
  2. 2. Access the Find Tool: Press Ctrl + F or navigate to the Home tab and select the Find icon.
  3. 3. Open Options: Click the 'Options' button in the bottom right of the Find dialog.
  4. 4. Set to Search Values: Change the 'Look in' dropdown menu to 'Value'.
  5. 5. Search Accurately: Input '0' and click 'Find All' to display only the cells that output a zero.
Fully compatible with Microsoft Excel formulas, functions, and file formats (XLSX).Intuitive Find and Replace tool with clear, customizable search parameters.Free, lightweight, and fast to launch on Windows, Mac, and mobile devices.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the Find tool default to searching in Formulas?

Spreadsheet applications default to searching in Formulas because users often need to trace specific functions, references, or underlying structural logic across a worksheet, rather than just locating the final displayed output.

Can I search for cells that only contain empty strings?

Yes. Leave the 'Find what' input field completely blank, set 'Look in' to 'Values', and check the 'Match entire cell contents' box. This will highlight cells that are genuinely empty or contain formulas returning an empty string.

What causes an individual spreadsheet file to become corrupted?

Workbook corruption can be caused by unexpected system shutdowns during the saving process, overly complex nested formulas, excessively large file sizes, or repeatedly transferring the file between conflicting spreadsheet software versions.