Show Zero in One Excel Cell with Custom Formatting
Question details
Display a calculated zero in one Excel cell without changing how zeros appear elsewhere in the worksheet.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A formula returns zero, but the user wants that zero visible in one cell only.
- Observed behavior
- The calculated zero appears blank in the cell.
Select the affected cell and check its formula and number format. Also check File > Options > Advanced > Display options for this worksheet to see whether worksheet-wide zero display is disabled.
Apply a custom number format to the cell
Use this when the cell's current number format hides zeros and worksheet-wide zero display is enabled.
Select the affected cell, right-click it, and choose Format Cells.
On the Number tab, select Custom. In the Type field, enter 0.00;-0.00;0.
Click OK. A zero should appear as 0; positive and negative values will display with two decimal places.

Return a text zero from the formula
Use this workaround when worksheet-wide settings hide numeric zeros and you do not want to change those settings.
Show a zero in one cell with WPS Spreadsheets
Use a custom number format in WPS Spreadsheets to show a zero hidden by the cell's format, without changing the formatting of other cells.
- 1. Open the workbook: Open WPS Spreadsheets and choose Open to select your Excel workbook.
- 2. Open the cell format: Select the affected cell, right-click it, and choose Format Cells.
- 3. Set a custom format: On the Number tab, select Custom and enter 0.00;-0.00;0 in the Type field.
- 4. Apply and check: Click OK and check that the cell displays 0 when its formula returns zero.

Frequently Asked Questions
What do the sections of the custom format mean?
In 0.00;-0.00;0, the sections control positive numbers, negative numbers, and zeros, respectively. Enter the code under Format Cells > Number > Custom.
Why is the zero still blank after I change the cell format?
Check File > Options > Advanced > Display options for this worksheet. If Show a zero in cells that have zero value is unchecked, the worksheet setting hides numeric zeros even with a custom format.
Can I show a zero without changing the worksheet setting?
Yes. Edit the formula to return the text "0" when its calculation is zero, such as =IF(SUM(A1:A5)=0,"0",SUM(A1:A5)). Note that the displayed zero is text rather than a numeric value.
Will formatting one cell change other cells?
No. Select only the target cell before choosing Format Cells > Number > Custom, and the format applies only to that selection.




