Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 159
Default Pivot table calculated field and subtotal

I have a table with Company, Item, Year, Percent, and Sales. I have a
calculated field in a Pivot table called PercentSales (= Percent * Sales).
The problem I'm having is the subtotal by Item is totaling PercentSales as
Sum of Sales * Sum of Percent. How do I get the subtotal by Item of the
PercentSales field to be either (Sum of Sales * Percent) or Sum of
PercentSales (and not Sum of Sales * Sum of Percent)? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default Pivot table calculated field and subtotal

You can't change the behaviour of the subtotal for the calculated field.
If possible, create the PercentSales calculation in the source data,
then add that field to the pivot table, where it will total correctly.

Or, in the pivot table, change the summary function for the subtotal to
Sum, instead of Automatic. This will remove the subtotal for the
calculated field, and you could calculate it outside of the pivot table.

Larry wrote:
I have a table with Company, Item, Year, Percent, and Sales. I have a
calculated field in a Pivot table called PercentSales (= Percent * Sales).
The problem I'm having is the subtotal by Item is totaling PercentSales as
Sum of Sales * Sum of Percent. How do I get the subtotal by Item of the
PercentSales field to be either (Sum of Sales * Percent) or Sum of
PercentSales (and not Sum of Sales * Sum of Percent)? Thanks.



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

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
Subtotaling a calculated field in a pivot table stu_padassol Excel Discussion (Misc queries) 0 August 2nd 06 08:14 PM
calculated field - Pivot Table Matt M HMS Excel Worksheet Functions 1 February 3rd 06 12:14 AM
Subtotal in a pivot table MarkM Excel Discussion (Misc queries) 2 December 29th 05 02:56 PM
pivot table : formula to absolute reference a subtotal fax Excel Discussion (Misc queries) 2 November 19th 05 09:28 PM
pivot table - hide details but show subtotal for calculated field tenneym Excel Discussion (Misc queries) 1 February 9th 05 03:07 AM


All times are GMT +1. The time now is 09:37 PM.

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

About Us

"It's about Microsoft Excel"