How to Display Selected Zero Values While Hiding Others in Excel
Question details
The user needs to display specific zero values (such as currency at $0.00) while globally hiding all other zero values in the worksheet without converting numbers to text.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Working with currency calculations where some cells must display a $0.00 value for clarity, but the rest of the worksheet needs to remain clean with all other zeros hidden.
- Observed behavior
- Excel's global setting to hide zero values applies to the entire worksheet, making it impossible to selectively show $0.00 in specific currency cells while maintaining their numeric properties.
Identify which specific cells or columns in your spreadsheet require zero values to be visible (like currency fields) and which should remain blank when the cell value is zero.
Use Custom Number Formatting to Selectively Hide Zeros
By applying a specific custom number format, you can hide zeros in specific cells while keeping the global Excel setting enabled to display zeros in your designated currency cells.
Excel custom number formats contain four sections separated by semicolons: Positive; Negative; Zero; Text. By omitting the format code in the 'Zero' section entirely, you can force specific cells to hide zeros while maintaining their underlying numeric value for calculations.
Go to File > Options > Advanced. Scroll down to the 'Display options for this worksheet' section and check the box for 'Show a zero in cells that have zero value'. This ensures your currency cells will display $0.00 normally.
Highlight the specific cells or columns where you want zero values to remain hidden.
Press Ctrl + 1 on your keyboard, or right-click the selected cells and choose 'Format Cells'.
Navigate to the 'Number' tab and select 'Custom' from the Category list. In the 'Type' box, enter the format 0;0;;@ to hide zeros. Click OK to apply the formatting.
Manage Cell Formatting and Zero Values Seamlessly with WPS Spreadsheet
WPS Spreadsheet offers powerful cell formatting options that are fully compatible with Microsoft Excel. You can easily apply custom number formats to control zero value displays and manage complex currency calculations efficiently.
- 1. Open Your Spreadsheet: Launch WPS Office and open your spreadsheet document.
- 2. Manage Global Zero Display: Click on 'Menu' in the top-left corner, go to 'Options', then select 'View'. Check or uncheck 'Zero values' to easily manage the default display of the active worksheet.
- 3. Apply Custom Formats: Select your cells, press Ctrl+1 to open the Format Cells dialog, choose 'Custom', and input formats like 0;0;;@ to selectively hide zeros while keeping your currency cells visible.

Frequently Asked Questions
How do I turn off zero values for an entire worksheet in Excel?
Go to File > Options > Advanced. Scroll to the 'Display options for this worksheet' section and uncheck the 'Show a zero in cells that have zero value' box. Click OK to apply the changes globally.
Will hiding zeros using custom formatting break my currency calculations?
No, applying a custom number format like 0;0;;@ only changes the visual display of the cell. The underlying numeric value remains a zero, meaning all your formulas and currency calculations will continue to work perfectly.
Can I use formulas to hide zero values instead?
Yes, if your cells contain formulas rather than static data, you can wrap your existing formula in an IF function. For example, use =IF(A1*B1=0, "", A1*B1). However, custom formatting is generally preferred as it keeps the cell value purely numeric.




