Formula Errors

How to Display a Blank Instead of Zero When a Source Cell Is Empty in Spreadsheets

Elise WilliamsElise Williams Nov 10, 2026 869 views

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.

How to Display a Blank Instead of Zero When a Source Cell Is Empty
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the destination cell

Click on the cell where you want the referenced data to be displayed.

2
Enter the IF and ISBLANK formula

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.

3
Apply the formula

Press Enter to apply the formula. You can now drag the fill handle to apply this formula to other adjacent cells.

Use the IF and ISBLANK Formula
Preserves Legitimate Zeros: Because this formula specifically checks for an empty state, a legitimately typed '0' in the source cell will return FALSE for ISBLANK and will correctly display as '0' in your destination cell.
Powerful Data Processing

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. 1. Download and install: Download WPS Office for free from the official website and install it on your device.
  2. 2. Open your workbook: Launch WPS Spreadsheet and open your existing workbook containing the blank cell references.
  3. 3. Apply logical formulas: Use the IF and ISBLANK formulas directly in your destination cells to format your data exactly as needed.
Fully compatible with Microsoft Excel formulas and .xlsx file formatsLightweight application that runs smoothly on older devicesBuilt-in advanced data analysis, formatting, and visualization toolsClean, user-friendly interface with tabbed document viewing
microsoft office alternative - wps office

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.