• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

2007 Excel Pivot Table Average Dollars per Manager

I have a pivot table where it shows the Regional Manager, the Area Manager, the Direct Manager and then each associate for each Direct Manager.  Let's say that each associate incurred costs at X dollars.  The sum of X dollars for each associate is totaled for their respective Direct Manager, each Direct Manager's totals are summed for the Area Manager, and each Area Manager's totals are summed for each Regional Manager.

My question is this, is it possible to create a function or calculated field to determine the average cost per associate.

Example:  Regional Mgr    Area Mgr     Direct Mgr                                      Grand Total     $ per Associate
                                                                                       Associate A     $1                    $1                      
                                                                                       Associate B     $2                    $2
                                                                                       Associate C     $5                    $5
                                                                                       Associate D     $0                    $0
Direct Mgr Grand Total                                                                                                 $7                      $1.75

For a large pivot table, calculating this field at line level is tedious, and I didn't know if there was a way to create this function within the pivot table.  Or, is there another option I haven't thought about?

Once I am able to understand how to show the total cost per associate per Direct Manager, I can then apply that logic for each Area Manager's Direct Manager's "$ per Associate" amounts.

Thanks.
0
kristibigo
Asked:
kristibigo
  • 2
1 Solution
 
Glenn RayExcel VBA DeveloperCommented:
Well, the sum of the above costs is $8, not $7.  So the average cost would be $2. :-)

But that minor bit of math out of the way, does your source data contain only one row of data per associate?  If so, it might be possible to integrate these averages in the source table.  Otherwise, it may not be possible.  A calculated field for the Pivot Table probably can't determine the number of unique Associates for any given Direct Manager, not to mention Area or Regional managers.

-Glenn
0
 
kristibigoAuthor Commented:
Okay, that's what I was afraid of. I guess I just needed confirmation from what I was able to research.  (Thanks for the math correction - whipped out the question too fast, I suppose).

Thank you for your response.
0
 
Glenn RayExcel VBA DeveloperCommented:
I'm sorry I wasn't able to provide a solution.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now