+ Reply to Thread
Results 1 to 10 of 10

Max of sumif array with multiple criteria

  1. #1
    Registered User
    Join Date
    09-15-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    42

    Max of sumif array with multiple criteria

    Ok, I know I am asking a lot with this question so I am going to thank you up front. Thank You!

    In the file I attached below I have a list of names, each name then has a owner and games played for that owner per year. For the All Time Stats (starting at N) I need to find the players owner based first off games player, and if there is a tie wins.

    I have been working on this for a while and I am getting nowhere.

    I have been trying a named list so I made a list of all the owners. I also worked out and highlighted what the answers should be for this example in the bottom right corner

    Thank you again.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Max of sumif array with multiple criteria

    Put this formula in cell Z28:

    =SUMIFS($F:$F,$A:$A,$Y28,$B:$B,Z$27)

    then copy across and down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    09-15-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Max of sumif array with multiple criteria

    Thanks you Pete,

    I agree that is a better formula then what I have, but the little chart in the bottom right corner is just an example of what the answers should be for this small sample size. The Cells I need a formula for are N2:N5

    Sorry for the confusion

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,914

    Re: Max of sumif array with multiple criteria



    =MAX(SUMIFS($F$2:$F$37,$A$2:$A$37,$M2,$B$2:$B$37,$Y$15:$Y$19))

    Enter with Ctrl+Shift+Enter.

  5. #5
    Registered User
    Join Date
    09-15-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Max of sumif array with multiple criteria

    Phuocam

    Thank you. I was getting held up there so I will keep working on it. I know I will need to use an Index/Match to get the name, I am assuming countif to see if there is a tie at the top(not sure about this part), and then I will just repeat the process for the tiebreaker.

    I'll let you know what I come up with.

  6. #6
    Registered User
    Join Date
    09-15-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Max of sumif array with multiple criteria

    I am racking my brain on this and not getting anywhere. How do I determine if there is a tie. I use the formula at that part works, but now I need to determine if the max occurs more then once, example N5, both Drew Brees and Hank Hill have 17 games played.

  7. #7
    Registered User
    Join Date
    09-15-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Max of sumif array with multiple criteria

    =COUNT(MAX(SUMIFS($F$2:$F$37,$A$2:$A$37,$M5,$B$2:$B$37,$Y$15:$Y$19)),(SUMIFS($F$2:$F$37,$A$2:$A$37,$M5,$B$2:$B$37,$Y$15:$Y$19)))

    I thought this was working but it just turns out 2 is the only answer it will give. Please help.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,981

    Re: Max of sumif array with multiple criteria

    Please attach a version of the workbook that displays the problem.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  9. #9
    Registered User
    Join Date
    09-15-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Max of sumif array with multiple criteria

    I am currently working in O but the answer will ultimately be in N I am just using the neighboring cells to work through my progressions
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    09-15-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Max of sumif array with multiple criteria

    So I have a solution, I gave up on trying to do this all in one cell and created a new sheet that matches the table I have in the bottom right hand corner of the sheet attached. I wanted to avoid this as it will probably triple the size of file and I might end up pulling it all out into a new file that just get referenced.

    That said doing this made it easy to get the solution I was looking for. Thank you for all the help everyone.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Array Formula w/ Multiple SumIf Criteria
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 03:05 PM
  2. [SOLVED] Array Formula w/ Multiple SumIf Criteria
    By Andy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  3. [SOLVED] Array Formula w/ Multiple SumIf Criteria
    By Andy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  4. [SOLVED] Array Formula w/ Multiple SumIf Criteria
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 04:05 AM
  5. Array Formula w/ Multiple SumIf Criteria
    By Andy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  6. Array Formula w/ Multiple SumIf Criteria
    By Andy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. Array Formula w/ Multiple SumIf Criteria
    By Andy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. [SOLVED] Array Formula w/ Multiple SumIf Criteria
    By Andy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2005, 04:05 PM

Tags for this Thread

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