+ Reply to Thread
Results 1 to 7 of 7

Pivot Table Ratio

  1. #1
    Registered User
    Join Date
    07-27-2005
    Posts
    8

    Pivot Table Ratio

    I have the following setup in my work sheet:

    Column A- Employee Name
    Column B- Office Location
    Column C- Review Type
    Column D- Initial Points
    Column E- Bonus Points
    Column F- Negative Points
    Column G- Points Earned, which sums columns D-F and is written as Sum(D2,E2,F2) for each row housing data.

    I created a column H called Points Ratio, which basically divides column F by column D. Therefore, for each row housing data one can see a percentage, i.e. 90%, 65%, 88%, etc.

    I also created a pivot table as followed:

    Page= Employee Name
    Row= Office Location
    Column= Review Type
    Data= Points Earned, which is summarized as an average.

    The problem I am having is when I fire away and querry my results are averaging an average. However, I desire a cummulative or weighted average. For example, if:

    Initial Points- 100, Earned Points- 70, Points Ratio= 70%
    Initial Points- 270, Earned Points- 95, Points Ratio= 35%
    Initial Points- 150, Earned Points- 85, Points Ratio= 57%

    The pivot table computes an average as 54%, (70%+35%+57%)/3. However, the cummulative or weighted average I'm trying to get is 48%, (70+95+85)/(100+270+150).

    Any help is appreciated....

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi,
    could you post a sample of your data ? This would help us see what you need.
    Thx

  3. #3
    Registered User
    Join Date
    07-27-2005
    Posts
    8
    Sorry, attached is a sample of what I have.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-03-2005
    Posts
    58
    Insert a calculated field by putting the required formula of dividing points earned/ initial points. that gives you the required %.

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Will this help?
    ( it does need some brushing up..)
    Last edited by arthurbr; 12-17-2007 at 07:49 AM.

  6. #6
    Registered User
    Join Date
    07-27-2005
    Posts
    8
    Yes, it does. I now see how it works. Many thanks!
    Last edited by Allenl; 10-31-2007 at 04:05 PM.

  7. #7
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Glad to help and thx for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1