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

Hi, I have the following data:

Team Name Closed#
1 John 2
1 Bill 5
2 Jane 1
2 Joe 6
3 Mary 1
3 Don 2

I have a Sum of Closed and a Count of Name in the data section of my table.
I need to divide Sum of Closed by Count of Name for each Team but can't
figure out how to do that. When I try a calculated field, I only have Name
as a selection, not Count of Name.

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Calculated Field in Pivot Table



"xgirl" wrote:

Hi, I have the following data:

Team Name Closed#
1 John 2
1 Bill 5
2 Jane 1
2 Joe 6
3 Mary 1
3 Don 2

I have a Sum of Closed and a Count of Name in the data section of my table.
I need to divide Sum of Closed by Count of Name for each Team but can't
figure out how to do that. When I try a calculated field, I only have Name
as a selection, not Count of Name.

Thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Calculated Field in Pivot Table

Hi,
You can use counta to count the name and you can use autosum to sum closed#.

viji

"xgirl" wrote:

Hi, I have the following data:

Team Name Closed#
1 John 2
1 Bill 5
2 Jane 1
2 Joe 6
3 Mary 1
3 Don 2

I have a Sum of Closed and a Count of Name in the data section of my table.
I need to divide Sum of Closed by Count of Name for each Team but can't
figure out how to do that. When I try a calculated field, I only have Name
as a selection, not Count of Name.

Thanks in advance.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Calculated Field in Pivot Table

Thank you Viji. When I tried that I get an incorrect value. I used this
formula in the calculated field:

=SUM(Closed)/COUNTA(Name)

For team 1 I would expect to get 3.5 but I get 7. Where have I gone wrong?

Thank you,
xgirl

"viji" wrote:

Hi,
You can use counta to count the name and you can use autosum to sum closed#.

viji

"xgirl" wrote:

Hi, I have the following data:

Team Name Closed#
1 John 2
1 Bill 5
2 Jane 1
2 Joe 6
3 Mary 1
3 Don 2

I have a Sum of Closed and a Count of Name in the data section of my table.
I need to divide Sum of Closed by Count of Name for each Team but can't
figure out how to do that. When I try a calculated field, I only have Name
as a selection, not Count of Name.

Thanks in advance.

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 and Calculated Item in Pivot Table Fred Smith Excel Discussion (Misc queries) 0 March 4th 07 08:15 PM
pivot table formulas for calculated field or calculated item Vicky Excel Discussion (Misc queries) 3 June 6th 06 05:06 AM
Pivot Table - Calculated Field fnov Excel Discussion (Misc queries) 9 March 6th 05 06:19 PM
Calculated Field in Pivot Table Spencer Hutton Excel Worksheet Functions 1 March 5th 05 02:35 PM
Calculated Field in Pivot Table Edgar Thoemmes Excel Worksheet Functions 0 December 23rd 04 11:59 AM


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

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"