+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Pivot Table Customised Formula

  1. #1
    Registered User
    Join Date
    09-17-2008
    Location
    Europe
    Posts
    48

    Pivot Table Customised Formula

    I need to create a customised calculation which basically caluclates the % difference between two prices.

    I managed to create the formula, however at sub-total and grand-total level i am getting an incorrect answer possibly to 0 values in some of the individual line items.

    Is it possible to create the same formula outside the pivot table in a column next the actual pivot table and then easily copy down into other cells?


    regards,

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,016

    Re: Pivot Table Customised Formula

    What is the formula and what incorrect values are you getting?
    Assuming it is something like =(Field1-Field2)/Field2 you should be aware that calculated fields work at the aggregate level so your totals will be:
    =(Sum(Field1)-sum(Field2))/sum(Field2)
    and not:
    =sum((Field1-Field2)/Field2).
    Everyone who confuses correlation and causation ends up dead.

+ 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