Excel 2003 Pivot Table - Hide Empty Rows Below Subtotal

rickincanada

Board Regular
Joined
Aug 31, 2010
Messages
61
I am currently working with a Pivot Table in Excel 2003 and am trying to find a solution to hide all of the empty rows that appear below the Subtotals in column A. I suspect this likely needs to be done through a macro (maybe on Worksheet_Calculate), but don't have the knowledge to build it.

Here's what my pivot table looks like currently:

_Wzkn60YQ9iqyot3PnXBF_4e9wZ5yoRt2ThcSc4YeHolEkqXtBmHbmKk3jbNfY5zbILfz1b1f592t6I=w1896-h835


What I want to have happen auto-magically is that rows 8 and 27 (and then all other subsequent rows where the value = "") are hidden. I would think that the macro would need to start at A3 and then work down from there as well as it should probably unhide all rows before it starts.

Any help you can offer would be greatly appreciated!!!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
You can select the column portion, F5(Goto)-Special-Blanks, then hide. Or apply the specialcells method through vba.
 
Upvote 0

Forum statistics

Threads
1,215,035
Messages
6,122,791
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top