Solved

Hide zero value rows on a pivot table

Posted on 2014-12-10
4
200 Views
Last Modified: 2014-12-10
Hi,

I have data in a pivot from Columns C-M - if all values are zero, can that row be hidden?

Can I do that within the PT or using VBA?

Thanks
0
Comment
Question by:Seamus2626
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40491075
You can do it as a filter. Put the value field in the Filter section (as well as the Values field), and then:

1. Click on the arrow.
2. Select "Select Multiple Items".
3. De-select 0 and blank.

That's one way - it's dangerous, as it would also exclude any new values that are not already there...
0
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40491079
A better way would be to create a new column in your source data saying "Is Zero Value", and have a simple formula

=if(or(g3="",g3=0),"Yes","No")

where g3 is the value for a particular row.

Then refresh (and if necessary, enlarge the source of) the PivotTable, add "Is Zero Value" into the Filters section, and select "No".
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 40491105
Are columns C:M separate fields, or separate items in the same field?
0
 

Author Closing Comment

by:Seamus2626
ID: 40491121
Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access Database 5 45
using vb script 5 51
I need a User Form to Input Data appear when a cell is clicked on 34 38
I NEED KEEP THE CONDITIONAL  FORMATTING 24 26
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question