Excel % of Subtotal - Pivot Tables :: MrExcel Message Board



 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

% of Subtotal - Pivot Tables
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

William
Welcome to the Board


Joined: 17 Nov 2002
Posts: 5


Status: Offline

 Reply with quote  

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

Post Mon Nov 18, 2002 12:21 am 
 View user's profile Send private message

Mark W.
MrExcel MVP


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

Status: Offline

 Reply with quote  

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
=

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.

Post Mon Nov 18, 2002 3:19 pm 
 View user's profile Send private message

William
Welcome to the Board


Joined: 17 Nov 2002
Posts: 5


Status: Offline

 Reply with quote  

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

Post Mon Nov 18, 2002 9:44 pm 
 View user's profile Send private message

Mark W.
MrExcel MVP


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

Status: Offline

 Reply with quote  

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 ]

Post Mon Nov 18, 2002 10:33 pm 
 View user's profile Send private message
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


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

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.