Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Pivot Table Subtotals - Calculated field subtotal incorrect

I have a pivot that has the following:
I have 2 calculated fields for the last 2 columns
The subtotal for the last column is calculating incorrectly:

Activity Agent Std/Hr Vol Time CalcProd/Hr Calc%toStd
Presort John 12 25 2 Hrs (25/2)=12.5
(12.5/12)=104%
Presort Jane 12 55 3 Hrs (55/3)=18.3
(18.3/12)=152%
Subtotal 12 80 5 (80/5)=16 XXX

Please advise as to how to make the subtotal for the "Calc%toStd" calculate
correctly.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Pivot Table Subtotals - Calculated field subtotal incorrect

reddy wrote:
I have a pivot that has the following:
I have 2 calculated fields for the last 2 columns
The subtotal for the last column is calculating incorrectly:

Activity Agent Std/Hr Vol Time CalcProd/Hr Calc%toStd
Presort John 12 25 2 Hrs (25/2)=12.5
(12.5/12)=104%
Presort Jane 12 55 3 Hrs (55/3)=18.3
(18.3/12)=152%
Subtotal 12 80 5 (80/5)=16 XXX

Please advise as to how to make the subtotal for the "Calc%toStd" calculate
correctly.



Hi reddy,

You can get into trouble if a calculated field uses aggregated
calculations.

Does your formula for Calc%toStd refer to Std/Hr, Vol, and Time (should
be good), or Std/Hr and CalcProd/Hr (bad)?
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Pivot Table Subtotals - Calculated field subtotal incorrect

The formula for Calc%toStd refers to Std/Hr and CalcProd/Hr. I am guessing
this is not possible huh?

"smartin" wrote:

reddy wrote:
I have a pivot that has the following:
I have 2 calculated fields for the last 2 columns
The subtotal for the last column is calculating incorrectly:

Activity Agent Std/Hr Vol Time CalcProd/Hr Calc%toStd
Presort John 12 25 2 Hrs (25/2)=12.5
(12.5/12)=104%
Presort Jane 12 55 3 Hrs (55/3)=18.3
(18.3/12)=152%
Subtotal 12 80 5 (80/5)=16 XXX

Please advise as to how to make the subtotal for the "Calc%toStd" calculate
correctly.



Hi reddy,

You can get into trouble if a calculated field uses aggregated
calculations.

Does your formula for Calc%toStd refer to Std/Hr, Vol, and Time (should
be good), or Std/Hr and CalcProd/Hr (bad)?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Pivot Table Subtotals - Calculated field subtotal incorrect

reddy wrote:
The formula for Calc%toStd refers to Std/Hr and CalcProd/Hr. I am guessing
this is not possible huh?

"smartin" wrote:

reddy wrote:
I have a pivot that has the following:
I have 2 calculated fields for the last 2 columns
The subtotal for the last column is calculating incorrectly:

Activity Agent Std/Hr Vol Time CalcProd/Hr Calc%toStd
Presort John 12 25 2 Hrs (25/2)=12.5
(12.5/12)=104%
Presort Jane 12 55 3 Hrs (55/3)=18.3
(18.3/12)=152%
Subtotal 12 80 5 (80/5)=16 XXX

Please advise as to how to make the subtotal for the "Calc%toStd" calculate
correctly.


Hi reddy,

You can get into trouble if a calculated field uses aggregated
calculations.

Does your formula for Calc%toStd refer to Std/Hr, Vol, and Time (should
be good), or Std/Hr and CalcProd/Hr (bad)?


You are not necessarily stuck. As long as you have Std/Hr, Vol, and Time
available, you can create valid CalcProd/Hr and Calc%toStd:

CalcProd/Hr = Vol / Time {fine; you did this already}

Calc%toStd = [CalcProd/Hr] / [Std/Hr] {don't do this--based on aggregate}
= (Vol / Time) / [Std/Hr] {do this}

Just make sure you base your forumlae on /unaggregated data/ instead of
the aggregated field [CalcProd/Hr]
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
Pivot Table - Blank SubTotal in Calculated Field Guilk Excel Worksheet Functions 0 January 3rd 08 11:16 PM
Incorrect total of calculated field in pivot table Mark1406 Excel Discussion (Misc queries) 1 September 11th 07 08:22 AM
Pivot table formula (calculated field) result is incorrect Paul Excel Worksheet Functions 1 July 30th 07 05:26 PM
Pivot table calculated field and subtotal Larry Excel Worksheet Functions 1 January 29th 07 04:17 PM
Totals of calculated field in pivot table give incorrect results Jake Excel Worksheet Functions 6 January 12th 06 06:15 PM


All times are GMT +1. The time now is 01:45 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"