+ Reply to Thread
Results 1 to 4 of 4

Comparative calculations in Pivot

Hybrid View

  1. #1
    Registered User
    Join Date
    01-19-2011
    Location
    The Carribeans
    MS-Off Ver
    Excel 2007
    Posts
    29

    Comparative calculations in Pivot

    I have a file of purchases of several items in a year. Items are purchased from single vendor or multiple vendor. Rates vary within many purchases, including that of single vendor. I have constructed a pivot table based on item code. Now want to analyse the variation of every single / line rate against average rate of total purchases and minimum rate of the purchases. To simplify the understanding I have attached a sample file.

    E.g. referring to the attached file

    In case of item ABC , the highest rate is 4, while lowest is 2 and average rate of those purchases is 3. I want to insert additional columns in the pivot to indicate variation of every line item rate against lowest rate and average rate. Hence for first line item, that will comparison of rate 2 against lowest rate 2 itself. Next column will have comparison of line rate 2 against average rate 3.

    So on...
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Comparative calculations in Pivot

    Yes, it can be done in pivot and its better to use a helper column in your pivot source data itself and perform the calculation and project it in pivot.

    Just add the expected output in your attachment so that it will be helpful in giving solution.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    01-19-2011
    Location
    The Carribeans
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: Comparative calculations in Pivot

    Quote Originally Posted by :) Sixthsense :) View Post
    Yes, it can be done in pivot and its better to use a helper column in your pivot source data itself and perform the calculation and project it in pivot.

    Just add the expected output in your attachment so that it will be helpful in giving solution.
    Thanks ! But could you please show me with an example in the attachment ? Somehow I could'nt figure out to do so.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Comparative calculations in Pivot

    Quote Originally Posted by wallywalter View Post
    Thanks ! But could you please show me with an example in the attachment ? Somehow I could'nt figure out to do so.
    Just you fill the expected output in Column-F of Sheet4 (Pivot Sheet), so based on that the formula solution or pivot solution will be provided to you.

+ 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