How to Show Zeros as Blank Cells In Excel

How to Show Zeros as Blank Cells Practice workbook
Table of Contents

Background

Zeros are almost inevitable in a workbook.

Sometimes you may change the appearance of the zero.

Do you have the following ask?

  1. Display zero as blank cells
  2. Show zero as dash
  3. Hide zero without actually deleting zero

In this article, I will show you 4 ways to hide zero cells or replace them with blanks or other marks such as dash.

Pros & Cons (4 ways)

MethodAdvantageDisadvantage
Change Excel SettingChanges are applied to the whole workbookYou couldn’t change for a single worksheet
Find & ReplaceIt replaces 0 by blanks/
Use a formulaIt is dynamicIt only works if the cell contains a formula
Change number formatIt hides 0 instead of replacing it by blanksIt doesn’t replace 0

Example

Show Zeros as Blank Cells Example
Show Zeros as Blank Cells Example
Sample Workbook

Download the workbook to practice it by yourself!

The sample workbook have included the practice worksheet for each option.

You can press the button and download it. (Only available in Desktop version)

Expected Outcome

Show Zeros as Blank Cells Expected Outcome
Show Zeros as Blank Cells Expected Outcome

Option 1: Change Excel Setting

This will change the setting for the whole workbook.

If you just want to show zero as blank cells for a specific cell range, skip this option.

Step 1: Choose File tab

Choose File tab
Choose File tab

Step 2: Choose Options

Step 3-5: Choose Options

Select Advanced, uncheck the Show a zero in cells that have zero value box and press OK
Select Advanced, uncheck the Show a zero in cells that have zero value box and press OK

Step 6: Done

Result of option 1
Result of option 1

Option 2: Find and Replace

Step 1: Select cell ranges

Step 2-3: Type the 0 into Find what box and press Replace all

Step 4: Close the “Find and Replace” dialog

Step 5: Done

Result of option 2
Result of option 2
Result of option 2

Option 3: Use a formula

If the cell ranges contains formula, you can use a formula to wrap around the original formula.

Step 1: Identify the formula

As you can see, the original formula is

='When the cell contains value'!B2

Step 2: Revise the formula

=IF('When the cell contains value'!B2=0,"",'When the cell contains value'!B2)
The logical of the formula
  1. To identify if the value is 0
  2. If the value is 0, then make it blank
  3. If it is not 0, resume the original formula

Step 3: Drag the formula to remaining cells

Result of option 3
Result of option 3
Result of option 3

Option 4: Change number format

Step 1: Select cell ranges

Step 2-3: In home tab, select the number formatting triangle

In home tab, select the number formatting triangle
In home tab, select the number formatting triangle

Step 4: Select More Number Formats

Select More Number Formats
Select More Number Formats

Step 5-7: Select “Custom”, type this into format box and press “OK”

0;-0;;@
Select Custom, type this into format box and press OK.png
Select Custom, type this into format box and press OK.png
Result of option 4
Result of option 4
Result of option 4

Hungry for more useful Excel tips like this? Subscribe to our newsletter to make sure you won’t miss out on any of our posts and get exclusive Excel tips!

International Open Academy

Join Our Newsletters!

JOIN OUR NEWSLETTERs!