To hide zero values in Excel without altering your formulas or data, enable the 'Show a zero in cells that have zero value' option to be turned off. This setting applies globally to the entire workbook and removes zeros from view while preserving them in calculations. No add-ins or third-party tools are required—only Excel installed on Windows, Mac, or online.
What You'll Need
- Microsoft Excel (any version: 2010, 2013, 2016, 2019, 2021, Microsoft 365, or Excel for the web)
- A workbook containing formulas that return zero (e.g., =A1-B1 where A1=B1)
Step-by-Step
- Open the Excel workbook where you want to hide zero values.
- Click the File tab in the top-left corner to open Backstage view.
- Select Options from the left-hand menu to open the Excel Options dialog box. (On Mac, go to Excel > Preferences > View.)
- In the Excel Options window, under Advanced (for Windows) or View (for Mac), locate the Display options for this worksheet section.
- Uncheck the box labeled Show a zero in cells that have zero value. This is the critical toggle—leaving it unchecked hides zeros.
- Click OK to apply the change. Excel will immediately hide all zero values across all worksheets in the current workbook.
- To hide zeros in only specific worksheets (instead of the entire workbook), repeat steps 2–5 but select Display options for this worksheet first, then choose the specific sheet from the dropdown menu at the top of the section before unchecking the zero-display box.
Common Mistakes
- Confusing this with number formatting: Applying a custom format like
0.00;0.00;;@hides zeros visually but changes how Excel stores values in some cases and may break formulas that rely on the actual zero. The global option preserves underlying data integrity. - Applying the setting only to one sheet when you need all sheets: If you skip the worksheet-specific dropdown and uncheck the box globally, zeros disappear everywhere—but if you intended to hide zeros only in one sheet, you’ll need to re-enable the option for other sheets manually.
- Expecting immediate effect in pivot tables: Pivot tables cache values and may still show zeros even after enabling the setting. You must right-click the pivot table > PivotTable Options > Layout & Format tab > check For empty cells, show: and leave it blank, then click OK.
Tips
- Use conditional formatting for selective hiding: If you only want to hide zeros in specific ranges (e.g., only negative or zero values in a profit column), select the range > Home tab > Conditional Formatting > New Rule > Format only cells that contain > set Cell value to equal to and type
0> click Format > under Number tab, choose Custom and enter three semicolons (;;;) > click OK. This hides zeros only in that range without affecting others. - Document your change: Since hiding zeros is a workbook-level setting, add a note in a hidden worksheet (e.g., "Zeros hidden per Excel Options > Advanced") to remind future editors why zeros aren’t visible.
- Sync settings across devices: In Excel for the web, open the workbook > click the Settings gear icon > Options > View > uncheck Show a zero in cells that have zero value. Note: Options may vary slightly by browser.
- Test with a simple formula: Enter
=1-1in cell A1. After enabling the setting, A1 should appear blank—not empty, but blank. You can still see0in the formula bar if needed.
Troubleshooting
- Zeros still appear after disabling the option: First, verify the setting is unchecked in the correct place. On Windows, ensure you’re in Advanced > Display options for this worksheet. On Mac, confirm you’re in View preferences. Also, restart Excel—sometimes the UI doesn’t refresh until you relaunch the app.
- Pivot tables or charts still show zeros: As noted earlier, pivot tables require a separate fix. For pivot charts, update the underlying pivot table first, then refresh the chart. Also check if the chart series includes empty cells—use Chart Design > Select Data > Hidden and Empty Cells > choose Gaps or Zero as needed.
- Conditional formatting overrides the global setting: If you applied a custom number format (e.g.,
0.00;0.00;;@) to a cell, it takes precedence over Excel’s built-in zero-display option. Remove the custom format (right-click > Format Cells > Number tab > select General) to let the global setting control visibility. - Formula returns empty string (“”) instead of zero, but cell looks blank anyway: This is normal. Functions like
=IF(A1=B1,"",A1-B1)return an empty string, which Excel treats as blank—not zero—so the zero-hiding option doesn’t apply. To force zeros, use=IF(A1=B1,0,A1-B1)instead, then rely on the global setting to hide them. - Excel Online shows zeros despite disabling the setting: Excel for the web has limited options. Try opening the file in the desktop app, applying the fix, saving, then reloading in the browser. Also ensure you’re signed in with the same Microsoft account used on desktop to sync settings where possible.
Frequently Asked Questions
Will hiding zero values affect my formulas or calculations?
No. The setting only changes how zeros are displayed, not their actual value in formulas. A cell that shows blank still contains 0 in the formula bar and will be included in functions like SUM, AVERAGE, or COUNTIF unless explicitly excluded with additional logic.Can I hide zeros in one worksheet but keep them visible in others?
Yes. In Excel Options (Windows) or Preferences (Mac), use the Display options for this worksheet dropdown at the top of the section to select a specific worksheet before unchecking the box. Repeat for each sheet you want to modify.Why do some cells still show 0 after I unchecked the option?
Check if those cells contain actual zero values entered manually (e.g., typing0 instead of a formula returning zero). The setting hides zeros returned by formulas, but manually typed zeros remain visible. To hide those, use conditional formatting as described in the Tips section.
Does this work in Excel for Mac?
Yes. Go to Excel > Preferences > View, then uncheck Show a zero in cells that have zero value under the Window options section. Note: The exact menu path can differ slightly across macOS versions (e.g., Monterey vs. Sonoma).What happens to zeros when I share the workbook with someone else?
The setting is saved with the workbook file (.xlsx), so others will see the same hidden zeros—if they open it in Excel. However, if they open the file in Google Sheets or another spreadsheet program, zeros may reappear because those tools don’t honor Excel’s display options.Can I hide zeros only in specific columns or ranges?
Yes, but not with the global setting alone. Use conditional formatting: select your range, create a new rule with=A1=0 (adjusting the cell reference), and apply a custom format of ;;;. This approach gives precise control per range without affecting the entire workbook.