Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Pivot Table Calculation

Hi there

I have a worksheet which contains a list of the products we analyse each
month and columns for the date the product was submitted for testing and the
date the product was released from testing. I also have a cycle time column
which is the number of days it took for the product to be released from the
date it was submitted.

I have created a pivot table from this data so I can look at individual (or
groups) products to see how many were released each month (count of release
month) and what the average cycle time for the testing was each month.

What I need now is to calculate the average cycle time per product per month
to use as a baseline however when I add a calculated field to the pivot table
and create the formula "average cycle time"/"count release month" I get
incorrect figures.

For example, "average cycle time" = 8 days "count release month" = 4
products which should give me average cycle time / product of 2 days - I get
something like 0.004.

Can someone tell me what I might be doing wrong or whether it's possible to
do this calculation in a pivot table?

Thank you, Silena
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 434
Default Pivot Table Calculation

hi, Silena !

instead of using a calculated field...
- back to step 3 of 4 (pivot table wizard)
- add another "average cycle time" into de data area
- change the function to: - average

you will see the "correct" average per product/month/group

however... in the grand-total row/column (it depends on your PT layout)
you will NOT see "the correct" total/sum of averages (per product/month/group)
what you will get (or PT shows) is the "sum of averages" divided by the "sum of counts"

AFAIK, pivots has not the friendly behavior of a (say) sumproduct formula :-((

hth,
hector.

__ original post __
I have a worksheet which contains a list of the products we analyse each month
and columns for the date the product was submitted for testing
and the date the product was released from testing.
I also have a cycle time column which is the number of days it took for the product
to be released from the date it was submitted.

I have created a pivot table from this data so I can look at individual (or groups) products
to see how many were released each month (count of release month)
and what the average cycle time for the testing was each month.

What I need now is to calculate the average cycle time per product per month to use as a baseline
however when I add a calculated field to the pivot table and create the formula
"average cycle time"/"count release month" I get incorrect figures.

For example, "average cycle time" = 8 days "count release month" = 4 products
which should give me average cycle time / product of 2 days - I get something like 0.004.

Can someone tell me what I might be doing wrong or whether it's possible to do this calculation in a pivot table?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Pivot Table Calculation

Hi Hector

How do I change the function to: - average?

Thanks Silena



"Héctor Miguel" wrote:

hi, Silena !

instead of using a calculated field...
- back to step 3 of 4 (pivot table wizard)
- add another "average cycle time" into de data area
- change the function to: - average

you will see the "correct" average per product/month/group

however... in the grand-total row/column (it depends on your PT layout)
you will NOT see "the correct" total/sum of averages (per product/month/group)
what you will get (or PT shows) is the "sum of averages" divided by the "sum of counts"

AFAIK, pivots has not the friendly behavior of a (say) sumproduct formula :-((

hth,
hector.

__ original post __
I have a worksheet which contains a list of the products we analyse each month
and columns for the date the product was submitted for testing
and the date the product was released from testing.
I also have a cycle time column which is the number of days it took for the product
to be released from the date it was submitted.

I have created a pivot table from this data so I can look at individual (or groups) products
to see how many were released each month (count of release month)
and what the average cycle time for the testing was each month.

What I need now is to calculate the average cycle time per product per month to use as a baseline
however when I add a calculated field to the pivot table and create the formula
"average cycle time"/"count release month" I get incorrect figures.

For example, "average cycle time" = 8 days "count release month" = 4 products
which should give me average cycle time / product of 2 days - I get something like 0.004.

Can someone tell me what I might be doing wrong or whether it's possible to do this calculation in a pivot table?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 434
Default Pivot Table Calculation

hi, Silena !

How do I change the function to: - average?


op1: doble-click the field-button in the data area (step 3 of 4 pivot wizard)

op2: right-click the field title-row on the PT and choose "field..." command

and choose average in the "resume by" list options

hth,
hector.

instead of using a calculated field...
- back to step 3 of 4 (pivot table wizard)
- add another "average cycle time" into de data area
- change the function to: - average

you will see the "correct" average per product/month/group

however... in the grand-total row/column (it depends on your PT layout)
you will NOT see "the correct" total/sum of averages (per product/month/group)
what you will get (or PT shows) is the "sum of averages" divided by the "sum of counts"

AFAIK, pivots has not the friendly behavior of a (say) sumproduct formula :-((
__ original post __
I have a worksheet which contains a list of the products we analyse each month
and columns for the date the product was submitted for testing
and the date the product was released from testing.
I also have a cycle time column which is the number of days it took for the product
to be released from the date it was submitted.

I have created a pivot table from this data so I can look at individual (or groups) products
to see how many were released each month (count of release month)
and what the average cycle time for the testing was each month.

What I need now is to calculate the average cycle time per product per month to use as a baseline
however when I add a calculated field to the pivot table and create the formula
"average cycle time"/"count release month" I get incorrect figures.

For example, "average cycle time" = 8 days "count release month" = 4 products
which should give me average cycle time / product of 2 days - I get something like 0.004.

Can someone tell me what I might be doing wrong or whether it's possible to do this calculation in a pivot table?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Pivot Table Calculation

Hi Héctor

Thanks for helping me with this but I'm still stuck

Adding another average cycle time field in the pivot table only gives me the
same values as the first average cycle time, so I thought it might help if I
tried to explain what my pivot table looks like.

I have the following set-up:
Data
Release Month Product Name Count of Release Month Avg
Cycle Time
Jul-07 Isot 40 2
9
Jul-07 Total 2
9
Aug-07 Isot 20 6
12
Aug-07 Isot 40 1
20
Aug-07 Total 7
(forgot??)

etc...

What I need is a column in the pivot table to give me the avg cycle
time/product/month ie:

Jul-07 Isot 40 (Avg Cycle Time/Count of Rel Month) = 9/2 = 4.5
Aug-07 Isot 20 = 12/6 = 2
Aug-07 Isot 4 = 20/1 = 20

etc...

Does this explain it better??

Thanks so much, Silena


"Héctor Miguel" wrote:

hi, Silena !

How do I change the function to: - average?


op1: doble-click the field-button in the data area (step 3 of 4 pivot wizard)

op2: right-click the field title-row on the PT and choose "field..." command

and choose average in the "resume by" list options

hth,
hector.

instead of using a calculated field...
- back to step 3 of 4 (pivot table wizard)
- add another "average cycle time" into de data area
- change the function to: - average

you will see the "correct" average per product/month/group

however... in the grand-total row/column (it depends on your PT layout)
you will NOT see "the correct" total/sum of averages (per product/month/group)
what you will get (or PT shows) is the "sum of averages" divided by the "sum of counts"

AFAIK, pivots has not the friendly behavior of a (say) sumproduct formula :-((
__ original post __
I have a worksheet which contains a list of the products we analyse each month
and columns for the date the product was submitted for testing
and the date the product was released from testing.
I also have a cycle time column which is the number of days it took for the product
to be released from the date it was submitted.

I have created a pivot table from this data so I can look at individual (or groups) products
to see how many were released each month (count of release month)
and what the average cycle time for the testing was each month.

What I need now is to calculate the average cycle time per product per month to use as a baseline
however when I add a calculated field to the pivot table and create the formula
"average cycle time"/"count release month" I get incorrect figures.

For example, "average cycle time" = 8 days "count release month" = 4 products
which should give me average cycle time / product of 2 days - I get something like 0.004.

Can someone tell me what I might be doing wrong or whether it's possible to do this calculation in a pivot table?




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 Calculation Tim Kuhn Excel Worksheet Functions 1 December 21st 07 02:03 AM
Pivot Table % calculation jerry Excel Discussion (Misc queries) 2 October 7th 05 06:25 PM
How to Add a Calculation to a Pivot Table ? Cheryl B. Excel Worksheet Functions 3 July 15th 05 12:01 AM
pivot table % calculation boris Excel Worksheet Functions 0 March 3rd 05 06:40 PM
Pivot Table % calculation CSAH Excel Worksheet Functions 1 January 14th 05 04:33 AM


All times are GMT +1. The time now is 12:56 PM.

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"