Solved

MS Excel: Hiding zero rows in Pivot Tables

Posted on 2001-07-02
9
637 Views
Last Modified: 2011-12-08
I am looking for a way to hide zero rows in pivot tables. This would need to work for tables that change monthly.
0
Comment
Question by:mblanken
[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
  • 4
  • 3
  • 2
9 Comments
 
LVL 13

Expert Comment

by:cri
ID: 6244817
Is Tools|Options|View: Clear 'Zero values' an option ?
0
 
LVL 13

Expert Comment

by:cri
ID: 6244855
Remember that this option is set for each worksheet
0
 

Author Comment

by:mblanken
ID: 6244894
Unfortunately no, I need to be able to hide these rows, prederably automatically. It seems as though this could/should be an option provided by Excel.
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 13

Expert Comment

by:cri
ID: 6245173
Try with double clicking the applicable Pivot field header button. A dialog should pop up. Select hide item 0.

If this produces the wanted result, if should be possible to automate this with a macro. Unfortunately the expert 'antrat' is dormant and, regarding Pivot Tables, I am a beginner.

0
 
LVL 7

Accepted Solution

by:
q2eddie earned 75 total points
ID: 6245280
To, cri:

I tried that suggestion.  It appears to work only if one of the pivoting elements is a zero.  Also, I have a pivottable (customer vs time-of-day-usage) where there are no zero pivoting elements.

Hmmm....  no quick and easy option, Nuts.

Hi, mblanken.

#Questions
1. Is this to be an automated process?
2. Does the example given below have the _effect_ that you wanted?
3. How close is this result to what you had in mind?

#Try This
a. If your pivottable's upper-left corner is in cell A1, then insert a blank row before it.
b. In the now-blank cell B1, type "+B3" (without the quotes).
c. Copy this formula to all the cells in row 1 for the length of your pivottable.
d. Now click on b1 and goto Data->Filter->AutoFilter.
You should see little down-arrow buttons in almost every cell in row 1.

To limit the pivottable display to show only non-zero rows, then ...
a. Goto the "GrandTotal" cell in row 1.
b. Click the down-arrow button and select the "Custom" item.
You should see a "Custom AutoFilter" dialog appear.
c. Set the first combobox to "does not equal".
d. Type the number zero into the combobox on its right.
e. Click OK.

#Comment
I think that you want something close to this - but not this exactly.

Bye. -e2
0
 

Author Comment

by:mblanken
ID: 6245291
I'm familiar with this and that doesn't work. I've asked Mrexcel.com about this problem and he has not found an answer either. He refered me to this site.
I appreciate your efforts.
0
 
LVL 7

Expert Comment

by:q2eddie
ID: 6245340
To cri:

I went to mrexcel.com and found out what you're talking about.  Wierd, I don't have that checkbox on my "data-item" dialog in the PivotTable Wizard.  Perhaps, I'm using an earlier version then he is.

Me: Excel 97

Bye. -e2
0
 

Author Comment

by:mblanken
ID: 6245374
To e2 and cri,

e2 - Your solution appears to work as an interim fix. Still wish MS would provide an option to hide zero data in a pivot table.

Thanks to both.

mblanken
0
 

Author Comment

by:mblanken
ID: 6245386
Regarding your last comment, yes it is close and does work ok but, I still would like as an option in pivot table set-up.

Thanks
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

751 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