How to Display a Blank Instead of Zero When a Source Cell Is Empty in Spreadsheets
Question details
The user needs to return a blank value instead of a zero when referencing an empty source cell in a spreadsheet, while ensuring that actual, typed zero values are still preserved and displayed correctly.

- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Referencing data from another worksheet or cell where some of the source data cells might be completely empty.
- Observed behavior
- A direct worksheet reference displays 0.0 or 0 when the source cell is blank, instead of leaving the destination cell empty.
Identify the exact cell reference you are pulling data from (e.g., 'G1 Data Entry'!E20) and verify whether the blank cells are truly empty or contain hidden spaces.
Use the IF and ISBLANK Formula
This method explicitly checks if the source cell is completely empty. It is the most reliable way to ensure actual zeros are preserved while hiding references to empty cells.
The ISBLANK function evaluates whether a referenced cell contains data. By nesting it inside an IF function, you can command the spreadsheet to output a blank text string ("") if the cell is empty, and output the cell's actual value if it is not.
Click on the cell where you want the referenced data to be displayed.
Type the formula: =IF(ISBLANK('G1 Data Entry'!E20), "", 'G1 Data Entry'!E20) into the formula bar, replacing 'G1 Data Entry'!E20 with your actual source cell reference.
Press Enter to apply the formula. You can now drag the fill handle to apply this formula to other adjacent cells.

Use the Not Equal to Blank (<>) Operator
This is a slightly shorter alternative formula that checks if the source cell contains any value before displaying it.
Handle Complex Spreadsheet Formulas Easily with WPS Office
WPS Spreadsheet fully supports advanced logical functions like IF and ISBLANK. It is a powerful, free alternative for managing data and avoiding formatting errors, providing an intuitive interface for both beginners and advanced users.
- 1. Download and install: Download WPS Office for free from the official website and install it on your device.
- 2. Open your workbook: Launch WPS Spreadsheet and open your existing workbook containing the blank cell references.
- 3. Apply logical formulas: Use the IF and ISBLANK formulas directly in your destination cells to format your data exactly as needed.

Frequently Asked Questions
Why does my spreadsheet show a zero when referencing a blank cell?
By default, spreadsheet software interprets an empty cell as having a numeric value of zero when it is referenced directly in a formula (e.g., =A1). To display it as blank, you must use a logical condition to handle empty states.
What happens if the source cell contains a space instead of being truly blank?
If a cell contains a space bar entry, it is no longer considered empty. The ISBLANK function will return FALSE, and the destination cell will display the space. To handle spaces, you may need to clear the source cell completely or use the TRIM function combined with LEN.
Can I just change the spreadsheet settings to hide all zeros?
Yes, most spreadsheet applications allow you to hide zero values globally in the Options or Preferences menu. However, this hides all zeros, including legitimately entered '0' values that represent actual data. Using an IF formula gives you targeted control over specific cells.




