Formatting Issues

Show Zero in One Excel Cell with Custom Formatting

Nimra MalikNimra Malik Nov 14, 2026 868 views

Question details

Display a calculated zero in one Excel cell without changing how zeros appear elsewhere in the worksheet.

Show Zero in One Excel Cell with Custom Formatting
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.
Before you start

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.

Solution 1Recommended

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.

1
Open Format Cells

Select the affected cell, right-click it, and choose Format Cells.

2
Enter the custom format

On the Number tab, select Custom. In the Type field, enter 0.00;-0.00;0.

3
Apply the format

Click OK. A zero should appear as 0; positive and negative values will display with two decimal places.

Apply a custom number format to the cell
Worksheet-wide setting: A custom number format cannot override Excel's worksheet-wide setting that hides zero values. If that setting is off, use the formula workaround instead.
Work with spreadsheets in WPS Office

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. 1. Open the workbook: Open WPS Spreadsheets and choose Open to select your Excel workbook.
  2. 2. Open the cell format: Select the affected cell, right-click it, and choose Format Cells.
  3. 3. Set a custom format: On the Number tab, select Custom and enter 0.00;-0.00;0 in the Type field.
  4. 4. Apply and check: Click OK and check that the cell displays 0 when its formula returns zero.
Control zero display in an individual cellOpen and save Microsoft Excel XLSX and XLS filesEdit formulas and number formats in a familiar spreadsheet interfaceUse WPS Office for free
microsoft office alternative - wps office

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.