Excel % of Subtotal - Pivot Tables :: MrExcel Message Board
 Search   Memberlist   Usergroups   Favorites   Statistics   Register

 % of Subtotal - Pivot Tables

William
Welcome to the Board

Joined: 17 Nov 2002
Posts: 5

Status: Offline

See a pivot table like the example here:

http://www.mrexcel.com/tip015.shtml

How would you go about displaying the %'s as a % of the subtotal (see last pivot table).
Eg in West Total it says 79.01%. I want that to read 100% and in the line above appels to be displayed as 64/448 = 14.2% of the West total.

Any help much appreciated!

Regards,

William

Mon Nov 18, 2002 12:21 am

Mark W.
MrExcel MVP

Joined: 11 Feb 2002
Posts: 7146
Location: Austin, Texas USA
Flag:

Status: Offline

 Microsoft Excel - Book1 ___Running: xl2000 : OS = Windows Windows 2000
 (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)bout
 A1 =

A
B
C
D
E
F
G
H
I
J
K
L
M
N
1
RegionProductSales  DataRegion
2
WestCherries256  Sales     Total Sales Total %
3
WestBananas128 ProductCentralEastWestCentralEastWest
4
WestApples64 Apples6416457.14%14.29%14.29%12922.75%
5
CentralApples64 Bananas16212814.29%28.57%28.57%14625.75%
6
CentralCherries32 Cherries32425628.57%57.14%57.14%29251.50%
7
CentralBananas16 Grand Total1127448100.00%100.00%100.00%567100.00%
8
EastCherries4
9
EastBananas2
10
EastApples1
11

 Sheet1

[HtmlMaker 2.32] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

Mon Nov 18, 2002 3:19 pm

William
Welcome to the Board

Joined: 17 Nov 2002
Posts: 5

Status: Offline

Hi Mark,

thanks for your response. I can see that the data you display is the answer, but I have no idea how you accomplished the second part of the data table, titled %. Is this a derived field (which formula?) that you drag in the data part of the layout, or is this the Sales field shown as a % (which one?) and dragged to the column part of the layout?

Thanks again,

William

Mon Nov 18, 2002 9:44 pm

Mark W.
MrExcel MVP

Joined: 11 Feb 2002
Posts: 7146
Location: Austin, Texas USA
Flag:

Status: Offline

Sorry... I moved the 'Region' field button to the COLUMN area, dragged a 2nd copy of the 'Sales' field to the DATA area, double clicked on this 'Sales' field, renamed it to '%', clicked the [ Option>> ] button, and set the "Show data as" selection to "% of column".

[ This Message was edited by: Mark W. on 2002-11-18 17:36 ]

Mon Nov 18, 2002 10:33 pm
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First

Forum Jump:
 Jump to: Select a forum MrExcel Forums----------------Excel QuestionsInternational forumMicrosoft AccessTechnical issues and Future development Holy Macro! Books----------------Holy Macro! Products The Lounge----------------Max Cells Lounge Announcements----------------About This BoardHall of Fame WinnersTest Here

Page 1 of 1

Forum Rules:
 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forum