Excel Guides

How to Exclude Zero Values from a PivotTable in Excel

If you have a PivotTable with data that includes zeros, you might want to hide the zeros to make the PivotTable more readable. To do this, you can use a number filter and select "Does not equal" 0 from the drop-down list. Or, you can format the cells to display a dash, blank, or other character instead of 0.

To hide zero values in a PivotTable:

  1. Click any cell in the PivotTable.
  2. On the PivotTable Tools tab, in the Analyze group, click Field Settings. If you don't see the PivotTable Tools tabs, make sure that you selected a cell in the PivotTable.
  3. In the Field Settings dialog box, click the Layout & Print tab.
  4. (Optional): To apply these settings to all future PivotTables that use this data source, click Set as Default. Otherwise, these settings will only be applied to this PivotTable.

  5. (Optional): To apply these settings just to blank cells (and not cells with other characters), select the "For empty cells show" check box, and then enter a value or character in the box.

  6. (Optional): To apply these settings just to cells with errors (and not blank cells or cells without errors), select the "For error values show" check box, and then enter a value or character in the box.

  7. (Optional): To apply these settings just to cells with zeros (and not blank cells or cells without zeros), select the "For zero values show" check box, and then enter a value or character in the box.

Note: If you want to apply different formatting options depending on whether a cell contains an error value, zero value, or other value, you can use conditional formatting instead of (or in addition to) number formatting. For more information about using conditional formatting with numbers, see Apply conditional formatting to cells - Excel - Office Support.

Move beyond 

Excel

Get started with Causal today.
Build models effortlessly, connect them directly to your data, and share them with interactive dashboards and beautiful visuals.