# 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.
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Excel 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

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Author 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).

0
Excel VBA DeveloperCommented:
I'm sorry I wasn't able to provide a solution.
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.