+ Reply to Thread
Results 1 to 9 of 9

using max ranges and match to reference cells to 3 highest numbers

  1. #1
    Registered User
    Join Date
    07-09-2012
    Location
    michigan
    MS-Off Ver
    Excel 2003
    Posts
    61

    using max ranges and match to reference cells to 3 highest numbers

    I am trying to keep track of the best performances of players by position for my fantasy football league. I want to track the top 3 scores overall for quarterbacks, wide receivers, etc.

    I have the formula to extract and highlight the top 3 scores, but I don't have the formula correct for tying in the player name, team and week.

    I have a formula that uses 3 max ranges (given to me by someone else) and that only works for a small portion of the range. I need the ranges to cover F6:V503 (Columns F through V being 17 weeks of the season). Does each "max" only use one column? There are helper cells underneath.

    I've attached the file.

    Thanks for anyone that can help and explain what I've done incorrectly.

    Damian
    Attached Files Attached Files

  2. #2
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: using max ranges and match to reference cells to 3 highest numbers

    cell AC519 and copied down:
    Please Login or Register  to view this content.
    cell ad519 and copied down:
    Please Login or Register  to view this content.
    Not sure what the next column is supposed to do.

  3. #3
    Registered User
    Join Date
    07-09-2012
    Location
    michigan
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: using max ranges and match to reference cells to 3 highest numbers

    The next column is supposed to put in the date in which the score took place (F2:V2).

    The formulas you just gave me work! Thank you!

  4. #4
    Registered User
    Join Date
    07-09-2012
    Location
    michigan
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: using max ranges and match to reference cells to 3 highest numbers

    I have posted a copy of the program with Eli Manning having the two highest scores of all quarterbacks in AB408 and AC408. The error in AC521 seems to show that it isn’t looking at the entire range of AB6:AD503.

  5. #5
    Registered User
    Join Date
    07-09-2012
    Location
    michigan
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: using max ranges and match to reference cells to 3 highest numbers

    Here's the file:
    Attached Files Attached Files

  6. #6
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: using max ranges and match to reference cells to 3 highest numbers

    You're right that it was only looking at thefirst column. Unfortunately, MATCH only looks at one column. So the attached looks at each separately. Unfortunately, since a blank yields an error message, the formula gets a bit long. With Excel 2007 or higher, you can use IFERROR, which is shorter, but if you use 2003 you're stuck with this somewhat clunky solution.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-09-2012
    Location
    michigan
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: using max ranges and match to reference cells to 3 highest numbers

    Bentleybob,

    You're fantastic. Thanks a ton!

    Now if I could just get the date above the week the high scores took place to reference......

  8. #8
    Registered User
    Join Date
    07-09-2012
    Location
    michigan
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: using max ranges and match to reference cells to 3 highest numbers

    Kicker problem
    Attached Files Attached Files

  9. #9
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: using max ranges and match to reference cells to 3 highest numbers

    Try this "array formula" in AC519

    =INDEX(PlayerList,SMALL(IF(AB$6:AD$503=AB519,ROW(AB$6:AD$503)-ROW(AB$6)+1),COUNTIF(AB$519:AB519,AB519)))

    confirmed with CTRL+SHIFT+ENTER and copied down

    Formula in AD519 for Teams is the same except with PlayerList replaced by Teams, and then for the date in AE519 use this array formula

    =INDEX(F$2:V$2,MATCH(AB519,INDEX(F$6:V$503,SMALL(IF(AB$6:AD$503=AB519,ROW(AB$6:AD$503)-ROW(AB$6)+1),COUNTIF(AB$519:AB519,AB519)),0),0))

    also confirmed with CTRL+SHIFT+ENTER

    This approach doesn't require any helper cells and it also ensures that you get the (correct) different QB and team names should there be ties in the top 3 scores - see attached
    Attached Files Attached Files
    Audere est facere

  10. #10
    Registered User
    Join Date
    07-09-2012
    Location
    michigan
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: using max ranges and match to reference cells to 3 highest numbers

    Daddylonglegs,

    You are a genius!

    Thank you so very much!

    Damian

+ 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