+ Reply to Thread
Results 1 to 4 of 4

Sum of Max

  1. #1
    Registered User
    Join Date
    04-19-2011
    Location
    Leeds
    MS-Off Ver
    Excel 365
    Posts
    48

    Sum of Max

    Hi All,

    I have a pivot table that has two columns, showing the max value of the dataset in each.

    I want to add a calculated field that sums the two max values.

    Everything I have tried so far only sums the sum of each column.

    What am I missing?

    E.g
    Max A Max B Max Total
    3 5 8
    1 6 7
    3 3 6

    Thanks for any help, Feastie.
    There's always a way.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Sum of Max

    Do you have Power Pivot available? I don't think you can do it without that (at least not without doing the calculations in the source data or outside the pivot table).
    Rory

  3. #3
    Registered User
    Join Date
    04-19-2011
    Location
    Leeds
    MS-Off Ver
    Excel 365
    Posts
    48

    Re: Sum of Max

    Unfortunately I don't have Power Pivot.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,528

    Re: Sum of Max

    As Rory states you could add a column outside the pivot table. A possible formula to populate the column could be: =IF(E4="","",SUM(F4,G4))
    Note that the formula is applied to rows 4:11 to show that it will expand contract along with the pivot table.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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