How to hide or display cells with zero value in selected ranges in Excel
While you may already know how to hide or display zero values for an entire worksheet in Excel, there might be instances where you only want to apply these changes to a selected range. This could be useful for focusing attention on key data points or cleaning up the presentation of your data without affecting the entire sheet. In this tutorial, we will explore how to hide zero values in a selected range, as well as how to revert them to being displayed if needed.
Hide zero values in selected cells in Excel
Display zero values in selected ranges in Excel
Hide zero values in selected cells in Excel
Step 1: Select the range where you want to hide cells with zero (0) values.
Step 2: On the "Home" tab, click "Format" in the "Cells" group, and select the "Format Cells" option. See screenshot:
Step 3: Click the "Number" tab and select "Custom", then type "0;-0;;@" in the Type box. Click "OK". See screenshot:
Note: If the value in one of these cells changes to a nonzero value, the format of the value will be similar to the general number format.
Display zero values in selected cells in Excel
Step 1: Select the cells containing the zero (0) values you want to display.
Step 2: On the "Home" tab, click "Format" in the "Cells" group, and select the "Format Cells" option.
Step 3: Click the "Number" tab, select "General" in the list, and click "OK". See screenshot:
- To hide or display cells with zero values in the entire worksheet, read our detailed guide here: How to Hide or Display Zero Values in Excel.
- To hide rows containing zero values, check out our step-by-step tutorial: How to Hide Rows with Zero Values in Excel.
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
All Kutools add-ins. One installer
Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.





- All-in-one suite ā Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
- One installer, one license ā set up in minutes (MSI-ready)
- Works better together ā streamlined productivity across Office apps
- 30-day full-featured trial ā no registration, no credit card
- Best value ā save vs buying individual add-in