Can I make my pivot table subtotal certain records?

phil152003

Board Regular
Joined
Mar 11, 2011
Messages
89
My data set consists of Name, Product, Price (its actually a lot more complicated, but this simplified version still gets the point across).

Now, its a very long list of data, and the majority of people only have one product. However, occasionally a person will have more than one product.

On my pivot table, I have name as the first column, then product as the second column, and the sum values as price. There is a subtotal on Name.

This all works as I want, but the problem is more a visual one - as the pivot table is very long, there are many unneccessary subtotals (just duplicating the line above for each 1 product person - 90% of a very large data set) that just clutter up the table.

I was wondering if there was a way to make the pivot table only show a sub total for people that only have more than one product?
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
To make it easier for you to understand, I've created a mock table demonstrating what I mean.

http://img703.imageshack.us/i/picturefb.png/

Looking at the screenshot, you can see that five of the six names in the pivot table only have one record, so the subtotal row isn't particularly necessary. Only for 'Mr E Smith' is the subtotal row useful.

My question again, is if there is a way for the pivot table to only display the sub-total for, in this example, Mr E Smith, while all other names don't have a sub-total?
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,723
Members
452,939
Latest member
WCrawford

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