Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Suppressing Zero Values in PivotTables.
by Allen Wyatt
(last updated September 12, 2015)
Many people use the PivotTable feature of Excel to help analyze their data. One such person is Chris, who explained how he has approximately 40,000 rows of data which boil down to about 8,200 rows in a PivotTable. The problem is that only about 230 of those rows have non-zero values in them. Chris was looking for a way to suppress the PivotTable rows that contain zero balances.
There are various ways that a solution can be approached. For instance, you could work with the original data and delete zero-balance rows before creating the PivotTable. If that is not possible, you could sort your data so that all the zero values are at the end of the data. Then, create your PivotTable so it only reflects the non-zero rows.
You can also use a filter on the data, before creating the PivotTable, that would show only rows that are not equal to zero. In other words, create a PivotTable using just the filtered data.
Another option is to use a filter after the PivotTable is created. All you need to do is select the column to the immediate right of the PivotTable and then create the filter. Excel is smart enough to know that the filter should not apply to the blank column, but instead does its work on the rows that make up the PivotTable.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10259) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Suppressing Zero Values in PivotTables.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
Are you attached to the classic PivotTable layout? Looking for a way to make that layout the default for new PivotTables? ...Discover More
When you refresh the data in a PivotTable, Excel can play havoc with whatever formatting you applied. Here's how to ...Discover More
Excel allows you to link to values in other workbooks, even if those values are in PivotTables. However, Excel may ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.