How to Fix Excel Find Treating IF Formula Results as Zero
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.

- 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.
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.
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.
Press Ctrl + F on your keyboard, or go to the Home tab and click on Find & Select > Find.
Click the 'Options >>' button in the Find and Replace dialog box to reveal advanced search settings.
Locate the 'Look in' dropdown menu and change the selection from 'Formulas' to 'Values'.
Enter '0' in the 'Find what' field and click 'Find Next' or 'Find All' to get accurate results.

Transfer Data to a New Workbook
If changing the search settings does not resolve the issue and the problem is isolated to one file, the workbook might be corrupted.
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. Open Your Workbook: Launch WPS Office and open your spreadsheet file.
- 2. Access the Find Tool: Press Ctrl + F or navigate to the Home tab and select the Find icon.
- 3. Open Options: Click the 'Options' button in the bottom right of the Find dialog.
- 4. Set to Search Values: Change the 'Look in' dropdown menu to 'Value'.
- 5. Search Accurately: Input '0' and click 'Find All' to display only the cells that output a zero.

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.




