Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Pivot Table Field based on two data area fields

How do I created a calculated field in a pivot table based on two data area
fields. My pivot table has three fields:
Username
COUNT Number of Items
SUM Hours to Complete

I want to add the field AVERAGE TIME TO COMPLETE that is calculated as
=SUM Hours to Complete / COUNT Number of Items
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Pivot Table Field based on two data area fields

From the PivotTable toolbar, click PivotTable, Formulas, then calculated
field. Assign a name of "AVERAGE TIME TO COMPLETE"
Formula is:
=SUM(Hours to Complete)/COUNT(Number of Items)
Note that it's probably better to insert the Hours and Number using the
"insert field" button, so you get the exact formatting/name correct.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"John Sweeney" wrote:

How do I created a calculated field in a pivot table based on two data area
fields. My pivot table has three fields:
Username
COUNT Number of Items
SUM Hours to Complete

I want to add the field AVERAGE TIME TO COMPLETE that is calculated as
=SUM Hours to Complete / COUNT Number of Items

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Pivot Table Field based on two data area fields

Hi,

If I understand correctly there is no need to SUM or COUNT the items in the
formula because Excel has already down it for you, then

1. Place your cursor in a row field and choose Pivot Table, Formulas,
Calculated Field.
2. Name the new field and in the Formula box enter
='SUM Hours to Complete' / 'COUNT Number of Items'

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"John Sweeney" wrote:

How do I created a calculated field in a pivot table based on two data area
fields. My pivot table has three fields:
Username
COUNT Number of Items
SUM Hours to Complete

I want to add the field AVERAGE TIME TO COMPLETE that is calculated as
=SUM Hours to Complete / COUNT Number of Items

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Pivot Table Field based on two data area fields

Hi,

I also might add that SUM('SUM Hours to Complete') returns the same results
as 'SUM Hours to Complete'.

This is at the core of our requests to Microsoft to allow us access to the
detail in the pivot table cache'. By the time we access the pivot table data
with a formula the data has already been summarized by the tools, so we don't
have access to the record by record detail. Although that doesn't impact
your problem is does impact other problems that can't be solved using the
pivot table, such as calculating the MEDIAN.
--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Shane Devenshire" wrote:

Hi,

If I understand correctly there is no need to SUM or COUNT the items in the
formula because Excel has already down it for you, then

1. Place your cursor in a row field and choose Pivot Table, Formulas,
Calculated Field.
2. Name the new field and in the Formula box enter
='SUM Hours to Complete' / 'COUNT Number of Items'

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"John Sweeney" wrote:

How do I created a calculated field in a pivot table based on two data area
fields. My pivot table has three fields:
Username
COUNT Number of Items
SUM Hours to Complete

I want to add the field AVERAGE TIME TO COMPLETE that is calculated as
=SUM Hours to Complete / COUNT Number of Items

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
Calculated Field in Pivot Table Based On Totals-and hide a data fi Leo Demarce Excel Discussion (Misc queries) 3 February 6th 09 07:27 PM
Sorting Page Area Field Data in Excel 2007 Pivot Table Rubble Excel Discussion (Misc queries) 2 February 17th 08 03:51 PM
Calculated Field in Pivot Table Based on Two Counted Fields cmlits Excel Discussion (Misc queries) 1 March 30th 06 05:44 AM
Pivot Table Page Field Area Broken GarethG Excel Discussion (Misc queries) 1 September 29th 05 10:11 PM
I cannot drag a Pivot Table field into the page area KimboR Excel Discussion (Misc queries) 2 February 23rd 05 02:29 PM


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