+ Reply to Thread
Results 1 to 2 of 2

Pivot Table custom formula

  1. #1
    Forum Contributor
    Join Date
    10-04-2004
    MS-Off Ver
    2013
    Posts
    148

    Pivot Table custom formula

    Hi!

    I have two questions regarding pivot tables:

    #1 - when inserting a custom formula in a pivot table, eg. divide field A with field B, what the pivot table does is to sum all records of A and divide it with the sum of all records of B. I'm assuming this is correct.

    The question is: what if I want to divide the first record of A with the first of B, the second record of A with the second record of B, all the way to the nth record and then FINALLY, sum up the result?

    I hope I was clear.

    #2 - is it possible to multiply a pivot table total with another number? I tried to create a new formula but Excel tells me it isn't possible. Can I bypass this problem?

    Thank you in advance!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Pivot Table custom formula

    cant you just create a new column?
    =IF(ISERROR(A2/B2),0,A2/B2)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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