
Tips.Net > ExcelTips Home > PivotTables > Suppressing Zero Values in PivotTables
Summary: PivotTables are great for digesting and analyzing huge amounts of data. But what if you want part of that data excluded, such as information that has a zero value? Here’s a couple of quick ideas. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, Excel 2003, and Excel 2007.)
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 lines of data which boil down to about 8,200 lines in a PivotTable. The problem is that only about 230 of those lines 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 deleting zero balance rows before creating the PivotTable. If that is not possible, you can use AutoFilter 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 filtered data.
Another option is to use AutoFilter 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 AutoFilter. Excel is smart enough to know that the AutoFilter should not apply to the blank column, but instead does its work on the rows that make up the PivotTable.
Tip #2041 applies to Microsoft Excel versions: 97 2000 2002 2003 2007
More Power! For some people, the prospect of creating macros can be scary. Those who conquer their fears, however, find they become much more confident and productive once they learn how to make Excel do exactly what they want. ExcelTips: The Macros is an invaluable source for learning Excel macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of ExcelTips. Learn at your own pace, exactly the way you want.
Check out ExcelTips: The Macros today!
If you have tons of data to analyze, one of the best tools in Excel's arsenal is the PivotTable. Learn how to use this tool to analyze your data. (more information...)
Ask an Excel Question
Make a Comment
ExcelTips FAQ
ExcelTips Premium
Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips
Advertise on the
ExcelTips Site