Excel charts often display zero values, which can clutter visuals and distract from meaningful data. The easiest way to hide them is by using Series Options to exclude zeros, and for large datasets, filtering or formatting zero cells as hidden values works best. Below are step-by-step methods, common pitfalls, and troubleshooting to ensure your chart stays clean and accurate.
What You'll Need
- A version of Microsoft Excel (2016 or later; Excel Online and newer versions follow the same steps).
- Your chart data with a series of values, including zeros.
- A clear understanding of the data you want to display (some methods require filtering).
Step-by-Step
- Create or select your chart: If you don’t already have a chart, insert one from your data (e.g., click "Insert" > "Recommended Charts" or "Insert" > "Chart" for a custom type). For existing charts, right-click the series or chart area and choose "Select Series" to edit the data range.
- Edit the series options:
Right-click the chart > "Select Data." In the "Legend Entries" pane, click the series you want to modify.
- Click the dropdown arrow beside "Series Name" and choose "Series Options."
- Under "Series Options," look for "Show Zero" or "Show Values Below Zero." If absent, skip to method 2 (formatting zero cells).
Note: This option exists in Excel 2016+, Mac Excel, and Excel Online. Older versions (pre-2016) lack this feature—use method 2 instead.
- Hide zeros by filtering data (alternative for older versions): 1. Select your data range (including headers if applicable). 2. Press Ctrl + F to open the Find & Select dialog. 3. In the "Find what" box, type `=0` (the zero symbol). 4. Click "Delete" > "Clear Content" to remove all zero cells from the visible data. 5. Insert a new chart (right-click any cell > "Insert" > "Chart") and connect it to the filtered range.
- Use conditional formatting (advanced):
If the chart still shows zeros, format the data source cells to display only non-zero values:
1. Right-click the data series > "Select Data."
2. In the "Series Name" box, click "Edit Series."
3. Under "Values," click "Format Data Points" (Excel 2016+).
4. In the "Format Data Points" pane, select the "Series Options" tab.
5. Check "Show zero" and set it to "Hide" (this affects the data before charting).
Note: This requires recalculating the chart or re-creating it if the data is dynamic.
- Force zeroes into hidden categories (for bar/column charts): If using a bar/column chart, adjust the axis to exclude zeros: 1. Right-click the chart > "Axis Options." 2. Under "Min" or "Max," enter `0` (Excel will auto-adjust the range). 3. If zeros persist, add a new data series with a single value of `0` and format it as a "No Data" marker (right-click series > "Series Options" > "No Marker").
Common Mistakes
- Ignoring version compatibility: Older Excel versions (pre-2016) lack built-in zero-hiding. Filtering or conditional formatting is necessary. Check your version under File > Account > Excel Version.
- Overwriting dynamic ranges: If formulas update frequently (e.g., pivot tables), zero-hiding methods may break unless you refresh the chart. Use a static data range or "Freeze" headers before filtering.
- Skipping data validation: Filtering zeroes removes them from the visible data but doesn’t affect hidden cells. Always verify the original dataset before charting.
- Assuming "Show Zero" applies universally: This option varies by chart type (e.g., it may not work for pie charts). Test it on a sample series first.
Tips
- Use a blank chart as a template: Copy an existing chart, delete all data, and rebuild it with your filtered range to avoid hidden zeroes.
- Leverage formulas for dynamic zero-exclusion: Add a helper column like `
=IF(A2=0,"",A2)` to your data before charting. Excel 365/2021 supports "Blanks as Zeros" in charts, but this isn’t always reliable. - Check for hidden zero markers: Some chart types (e.g., line charts) use axis labels to display zeroes. Right-click the chart > "Axis Options" > "Show Zero" to toggle them.
- Test with a small dataset: Start with 3–5 data points to troubleshoot formatting conflicts before working on large datasets.
Troubleshooting
If your chart still shows zeroes after the above steps, try these fixes:
- Reset the chart: 1. Right-click the chart > "Select Data" > "Clear." 2. Insert a new chart (right-click any cell > "Insert" > "Chart") and connect it to the *same* data range (no filtering this time).
- Check for hidden rows/columns: Press Ctrl + ; (Windows) or Cmd + ; (Mac) to show all hidden data. Remove zeros from hidden sheets if present.
- Update Excel: Go to File > Office Store > Update Options > Update Now. Older versions may lack zero-hiding features.
- Use a different chart type: Convert to a "Column Clustered" or "100% Stacked" chart—some zeroes disappear automatically in these formats.
- Contact Excel support: If zeros persist after all steps, the issue may stem from a corrupted chart file. Export to a new workbook and rebuild the chart.
Frequently Asked Questions
Why won’t my Excel chart hide zero values in older versions?
Older Excel versions (pre-2016) lack the Series Options > Show Zero feature. Workaround: filter zeroes from your data source before charting (see Step 3 in the main guide).
How do I hide zero values in a pie chart?
Pie charts don’t support zero-hiding directly. Instead, use conditional formatting to format zero cells as blank, then recreate the chart. Alternatively, add a "No Data" category (e.g., a single zero series) and format it as a line (not a slice).
Will hiding zeros in a chart affect my data calculations?
Yes. If you filter zeros from the data range before charting, calculations (e.g., averages, pivot tables) will also exclude them. For dynamic data, use helper columns or formulas to preserve zeros while hiding them visually.
Can I hide zeros in Excel Online?
Yes, Excel Online follows the same steps as desktop versions. If the Show Zero option is missing, use the filtering method or conditional formatting to achieve the same result.
What if my chart uses a pivot table?
Pivot charts automatically include all data ranges, so zeroes will appear unless you filter them before charting. Add a blank pivot table, apply a filter (e.g., "Show values with zero"), then insert the chart from the filtered table.
How do I ensure zeroes don’t reappear after formatting?
If zeros are dynamic (e.g., from formulas), use a helper column to replace them with blanks (e.g., =IF(A2=0,"",A2)) before charting. For pivot tables, right-click the chart > "Select Data" > "Edit Series" > "Series Values" > Format Data Points > "Blanks as Zeros" (if available).