Sum of % in Pivot Table

mgeiss

New Member
Joined
Sep 12, 2014
Messages
14
I’m not sure if this is possible on a pivot table, but I’m hoping if someone knows they could help me out.

I have net sales and cost of sales. The material margin is the difference between the two. In our business we like to see it as a percentage. I can either get the sum of the two and divide the difference by net sales to get the material margin percent or I could divide cost of sales by net sales +1 and get the material margin percent.

Something else I noticed was that I could make cost of sales a percent of net sales. However, how do I get the sum of the percents? That would work too!

Thanks and I appreciate any help!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Sum of % does not work in a "regular" Pivot Table.
There can be ways of generating the suitable initial calculation in the source data first that may work.
Otherwise you need to use the PowerPivot (DAX) calculation engine to force the correct order of operations.

see https://powerpivotpro.com/what-is-power-pivot/

PowerPivot is coming to Office365 subscribers.
 
Upvote 0
What you are trying to do is similar to what we do. We have a calculated field set up (i.e. margin / sales) and then add it to the pivot and sum it. When formatted as a % it does the job just fine.
 
Upvote 0

Forum statistics

Threads
1,214,647
Messages
6,120,722
Members
448,987
Latest member
marion_davis

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