How to Display 0 in Excel: Step-by-Step Guide
In this article
To display a zero in Excel, the fix depends on why it is hidden. If zeros are being suppressed by a setting, go to File > Options > Advanced, scroll to "Display options for this worksheet," and tick "Show a zero in cells that have zero value." If the zero is hidden because the cell is formatted to hide it, apply the General or Number format. If a formula returns a blank instead of zero, wrap it in IF or use the & operator. The steps below cover each case in order, so you can match the fix to your situation.
What You'll Need
- Excel for Windows, Excel for Mac, or Excel for the web (the desktop versions have the most display options; the web version has fewer)
- The workbook where zeros should appear
- Basic familiarity with the Format Cells dialog (Ctrl+1 on Windows, Cmd+1 on Mac)
Step-by-Step
- Check whether zeros are hidden by a worksheet setting. Open the workbook and press Ctrl+1 (Cmd+1 on Mac) on a cell that should show zero. If the cell is truly empty, no format will make it show 0 — you need to enter a value or a formula. If the cell contains 0 but displays blank, continue to the next step.
- Turn on zero display in Options. Go to File > Options > Advanced. Under "Display options for this worksheet," make sure the correct sheet is selected in the dropdown, then tick "Show a zero in cells that have zero value." Click OK. Note that in Excel for the web this option is not exposed the same way, so use the desktop app if you cannot find it. Labels can differ slightly by version and region.
- Check the cell's number format. Select the cell, press Ctrl+1, and look at the Number tab. If the format is Custom and the code contains a section that hides zeros (for example a format with a trailing semicolon and no fourth section), switch to General or Number with the desired decimal places. The standard four-section custom format is positive;negative;zero;text — if the zero section is empty, zeros display as blank.
- Look for a formula that returns an empty string. If the cell contains a formula such as =IF(A1="","",A1), it returns an empty string, not a number, so no format will show 0. Change the formula to return 0 instead of "" — for example =IF(A1="",0,A1) — or use =N(A1) to coerce blanks to zero.
- Check for leading apostrophes or text formatting. A zero typed as text (for example with a leading apostrophe) may display oddly or be treated as text. Select the cell, look at the formula bar, and remove any leading apostrophe. Then set the format to General or Number.
- Check conditional formatting. Go to Home > Conditional Formatting > Manage Rules. A rule may set the font color to white or apply a custom number format that hides zeros. Disable or edit the rule if it is not intended.
- Verify the calculation mode. If formulas are not recalculating, press F9 (or Ctrl+Alt+F9 for a full recalculation on Windows). On Mac, use Cmd+=. A stale calculation can make a cell appear blank when it should show 0.
- Confirm the cell is not merged or hidden. A merged cell can hide content in adjacent cells, and a hidden row or column can make a zero look missing. Unmerge (Home > Merge & Center) or unhide rows and columns to check.
Common Mistakes
- Changing the format when the cell is actually empty. An empty cell stays blank no matter the format; you must enter 0 or a formula that returns 0.
- Confusing an empty string ("") with the number 0. Formulas that return "" will not display 0 under any number format.
- Applying the Options change to the wrong worksheet. The "Show a zero" setting is per worksheet, so select the correct sheet in the dropdown before ticking it.
- Forgetting that custom formats have up to four sections. Leaving the third section (for zero) blank hides zeros; a common mistake when copying formats from elsewhere.
- Overlooking conditional formatting, which can override the cell's visible number format and font color.
Tips
- Use Ctrl+1 to open Format Cells quickly on Windows; Cmd+1 on Mac.
- To show a zero as a dash instead, use a custom format such as 0;-0;"-" — the third section controls how zero displays.
- If you want zeros to show only in certain cells, apply the format to a range rather than changing the whole worksheet setting.
- Use =IFERROR(formula,0) to force a zero result when a formula errors, which is often what people actually want when they say "display 0."
- Keep a copy of the workbook before making bulk format changes, since custom formats can be tedious to reverse.
Troubleshooting
If the zero still does not appear after the steps above, work through these checks in order. First, confirm the cell actually contains 0 by clicking it and reading the formula bar — if the formula bar is empty, the cell is empty. Second, test the same value in a new blank cell with General format; if it shows there, the problem is the original cell's format or a rule. Third, check for a worksheet-level setting you may have missed by opening File > Options > Advanced again and verifying the correct sheet is selected. Fourth, look for protected sheets: a protected worksheet can block format changes, so unprotect it (Review > Unprotect Sheet) if you have the password. Fifth, if the file was created in another program or exported, some formats do not carry over; reapply General format to the affected range. Finally, if formulas are involved, use Formulas > Evaluate Formula to step through the calculation and see whether the result is truly 0 or an empty string. If none of this works, save a copy, close and reopen Excel, and try again in the copy — this rules out a corrupted view state without risking your original data.
Frequently Asked Questions
Why does my zero disappear when I type it?
Most often the worksheet has "Show a zero in cells that have zero value" turned off, or the cell has a custom format that hides zeros. Check File > Options > Advanced and the cell's number format.
How do I show zeros as dashes instead of 0?
Apply a custom number format with a third section, such as 0;-0;"-". The third section controls how zero values display.
Why does a formula return blank instead of 0?
The formula is likely returning an empty string ("") rather than the number 0. Change the formula to return 0, or wrap it in =N() to convert blanks to zero.
Does the zero display setting apply to all sheets?
No. In the desktop versions it is set per worksheet, so you must select each sheet in the Options dropdown and tick the box separately.
Can I display 0 in Excel for the web?
The web version has fewer display options than the desktop app. If you cannot find the setting, open the file in the desktop version of Excel, change it there, and save.
Why is my zero showing as text?
A leading apostrophe or a cell formatted as Text causes this. Remove the apostrophe and set the format to General or Number.