ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Pivot tables % of subtotal (https://www.excelbanter.com/excel-discussion-misc-queries/24494-pivot-tables-%25-subtotal.html)

Excel GuRu

Pivot tables % of subtotal
 
Is there a way to display data like I've shown it below. In case it is
unclear, I'd like to calculate a percentage of sales of size 1 to the total
sales of the various sizes of a product. For example, Prod A, size 1, as a
percentage of total sales of Prod A, sizes 1-3.


Product Size Units %
A 1 100 16.7%
A 2 200 33.3%
A 3 300 50.0%
A Total 600 100.0%

B 1 150 20.0%
B 2 350 46.7%
B 3 250 33.3%
B Total 750 100.0%

Total 1350 100.0%



Dave Peterson

It looks like you want to review Debra Dalgleish's notes at:
http://www.contextures.com/xlPivot10.html



Excel GuRu wrote:

Is there a way to display data like I've shown it below. In case it is
unclear, I'd like to calculate a percentage of sales of size 1 to the total
sales of the various sizes of a product. For example, Prod A, size 1, as a
percentage of total sales of Prod A, sizes 1-3.


Product Size Units %
A 1 100 16.7%
A 2 200 33.3%
A 3 300 50.0%
A Total 600 100.0%

B 1 150 20.0%
B 2 350 46.7%
B 3 250 33.3%
B Total 750 100.0%

Total 1350 100.0%


--

Dave Peterson


All times are GMT +1. The time now is 12:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com