In this article, we will learn how to hide or display all zero values in a worksheet in Microsoft Excel.
While preparing reports, you do not want to display zero values in a cell, or you are required to hide the zero values in the report.
There are few ways to hide zeros in a cell.
- Click on File ribbon
- Select Excel Options
- Click on Advanced tab of the Excel Options
- In Display options for this worksheet, Uncheck “Show a zero in cells that have zero value”
- Click on OK
- Cell C3 contains zero, but this is not visible in the cell.
- Although you can see the zero in the formula bar.
The second method to hide zero values is using Custom Format
- Select the cells that contain zero values that you want to hide
- Click on Home ribbon
- In Cells group, click on Format
- Select Format Cells option or press shortcut key CTRL + 1
- The following dialog box will appear
- Select Number tab
- Select Custom from Category menu
- In the Type box, enter 0;-0;;@
- After that, click on OK
- You will not be able to see zero in the cell whereas you can see the zero in formula bar.