Solved

MS Excel: Hiding zero rows in Pivot Tables

Posted on 2001-07-02
9
628 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
  • 4
  • 3
  • 2
9 Comments
 
LVL 13

Expert Comment

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

Expert Comment

by:cri
Comment Utility
Remember that this option is set for each worksheet
0
 

Author Comment

by:mblanken
Comment Utility
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
 
LVL 13

Expert Comment

by:cri
Comment Utility
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 7

Accepted Solution

by:
q2eddie earned 75 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now