Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
goofy11
 
Posts: n/a
Default Using '% of Total' in calculated field in Pivot Table

I have a Pivot Table with Inventory, % of Inventory, Sales, and % of Sales.
To get '% of Inventory' and '% of Sales' I used the Inventory and Sales
fields a second time and used the '% of Column' option. My table looks
something like this.

Category Inventory % of Inventory Sales %
of Sales
aaaa $30,000 11.91% $31,000
12.31%
bbbb $20,000 8.32% $22,000
9.29%
cccc $15,000 6.38% $14,000
5.25%
etc.

What I need to do is subtract '% of Inventory' from '% of Sales'. I realize
I can enter this calculation outside of the Pivot Table, but I would love to
have it be part of the Pivot Table because I plan to drill-down/expand the
Pivot Table and would like it to stay dynamic. Is this possible?

Jeff


  #2   Report Post  
Posted to microsoft.public.excel.misc
carlyman
 
Posts: n/a
Default Using '% of Total' in calculated field in Pivot Table


On the toolbar PivotTable menu (doesn't work if you right-click), choose
Formula and then Calculated Field or Calculated Item; both of these
options allow for dynamic entries. I forget which one you'll need to
use in this case...but it'll give you a start until someone else can
respond.

-JC


--
carlyman
------------------------------------------------------------------------
carlyman's Profile: http://www.excelforum.com/member.php...o&userid=22440
View this thread: http://www.excelforum.com/showthread...hreadid=540422

  #3   Report Post  
Posted to microsoft.public.excel.misc
goofy11
 
Posts: n/a
Default Using '% of Total' in calculated field in Pivot Table

I've had experience inserting calculated fields, however, I don't see how to
do it based on a '% of Total' field. I'm not even sure it's possible. But
if it is, I would love it. To clarify, the new column I'm trying to insert
would be the 'Difference' column listed below (% of Sales - % of Inventory).

Category Inventory % of Inventory Sales %
of Sales Difference
aaaa $30,000 11.91% $31,000
12.31% 0.4%
bbbb $20,000 8.32% $22,000
9.29% 0.97%
cccc $15,000 6.38% $14,000
5.25% -1.13%
etc.




"carlyman" wrote:


On the toolbar PivotTable menu (doesn't work if you right-click), choose
Formula and then Calculated Field or Calculated Item; both of these
options allow for dynamic entries. I forget which one you'll need to
use in this case...but it'll give you a start until someone else can
respond.

-JC


--
carlyman
------------------------------------------------------------------------
carlyman's Profile: http://www.excelforum.com/member.php...o&userid=22440
View this thread: http://www.excelforum.com/showthread...hreadid=540422


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Totals of calculated field in pivot table give incorrect results Jake Excel Worksheet Functions 6 January 12th 06 06:15 PM
% of calculated field in pivot table sc Excel Worksheet Functions 0 September 30th 05 04:53 PM
Pivot Table Calculated field item Tim Excel Discussion (Misc queries) 1 September 24th 05 12:31 AM
caluclated field in pivot table? marshall Excel Worksheet Functions 0 May 16th 05 04:33 PM
Problems with Pivot Table Field Sorting in Excel 2002 Phoenix71555 Excel Discussion (Misc queries) 1 February 27th 05 11:25 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"