Some data shouldn't summarize in pivot table

ExcelAnt

New Member
Joined
Mar 24, 2009
Messages
2
Hi,
I have a pivot table that displays a number of stock positions, sorted by Industry. For some of the data fields, I want subtotals, but for others, the subtotals would be meaningless and I'd like them not to display. For example (sorry about the imperfect formatting):

-----------------Units----Price----MarketValue
+Technology ___________________$800
MSFT___________10______20_____$200
AOL____________ 20______30_____$600

+OIL & GAS ___________________$3200
Etc.

Notice in the above, the Market Value sums up to a subtotal (technology=800), but I do not want totals to dispaly for units or price. Is there a way to implement this? For now I have set the text color manually to white to hide them, but this is unstable and I believe will break down as new subcategories appear on the chart.

Anybody have a good solution?

Thanks,
Ben
 
Last edited:

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
For anybody interested in a solution...

I found that excel 2007 Conditional Formatting works well with pivot tables. I believe previousl versions did not, but using a conditional formatting rule I was able to selectively set a custom number format to "" to hide fields depending on their summary-level.

Ben
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,858
Members
449,051
Latest member
excelquestion515

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