Pivot Table - Count of Hidden Rows

JAF7

Board Regular
Joined
Feb 14, 2008
Messages
75
I'm looking for a way to display a count of of the number of hidden rows represented by a rolled up field in a Pivot. For instance I have a pivot table for customers that groups them by A, B, or C. When the pivot table is rolled up it shows the data just for the groups (A, B, and C). For example the total sales for A customers, B customers, etc. I can click on the + sign by the A customers to see what customers are in group A.

What I'm looking to do is have the
pivot show me a COUNT of the customers that are hidden under that group (without expanding the group by cliciing the +). Ideally putting this in a field that I could also do calcs on. For instance there are 20 customers in Group A, 70 customers in Group B, and 10 customers in Group C (all hidden unless I expand by clicking +). I would like to show these counts next to each group while leaving them collapsed.
I'd like it within the pivot so it is dynamic as I change various filters.

Thank you for any help you can offer on this. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>

<o:p> </o:p>
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Thanks for the suggestion, but I think I need something different. I was looking for something that would work in the "row labels" section of the pivot table.

Any other suggestions?
 
Upvote 0

Forum statistics

Threads
1,196,480
Messages
6,015,448
Members
441,895
Latest member
Zululander

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