+ Reply to Thread
Results 1 to 10 of 10

Index Tie issue in a Leaderboard

  1. #1
    Registered User
    Join Date
    07-18-2013
    Location
    US
    MS-Off Ver
    Excel 2011
    Posts
    4

    Index Tie issue in a Leaderboard

    I've put together a leaderboard for a sporting event. I've found many good tips here, but I'm hung up on ties, as the way they display doesn't work. Frankly, this is over my head.

    My formula to Index/rank the athletes from highest to lowest is:

    =INDEX(F$4:F$25,MATCH(LARGE($F$4:$F$25,X4),$F$4:$F$25,0))

    I do not need to break any ties. I only need thee results sorted as such:

    A=Rank B=Name C=Score

    1 Athlete 1 50
    2 Athlete 2 45
    2 Athlete 3 45
    4 Athlete 4 40
    5 Athlete 5 35

    Any suggestions would by greatly appreciated. I really have to avoid sorting them manually.

  2. #2
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: Index Tie issue in a Leaderboard

    A file would help.

    We have no idea what's where, when or why or who's the winner... grand no slammer ya got going here

    For example, your LARGE portion of the formula references X4 for the nth largest value. How do you think we are to know what's in X4??? ...or what's in F4:F25???

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Index Tie issue in a Leaderboard

    Hi and welcome to the forum

    I normally do a tie-break by using =A1+(countif($A$1:A1,A1)/100), assuming your data range is in A, starting in A1 - adjust as needed.

    you can then do a large (or small) based on that in an index/match/match, returning the actual value
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    07-18-2013
    Location
    US
    MS-Off Ver
    Excel 2011
    Posts
    4

    Re: Index Tie issue in a Leaderboard

    [QUOTE=jhren;3330770]A file would help.

    Apologies for not attaching a file, and thank you for the quick reply. I've attached it here.

    The basic premise of the event is:

    1. Athletes get 3 runs in their event.
    2. Only their highest score counts toward their final rank.
    3. The first grid in the sheet collects the judges' scores.
    4. The leaderboard automatically updates every time new judge scores are entered.

    When there are ties for the Highest Score, the problem arises.

    Leadeboard example.xlsx

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

    Re: Index Tie issue in a Leaderboard

    you will stil have to unique rank them just so the ties can be allocated a seperate number for the index match to work
    Attached Files Attached Files
    Last edited by martindwilson; 07-20-2013 at 09:17 AM.
    "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

  6. #6
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Index Tie issue in a Leaderboard

    see if this is what you meant.

    i fudged a couple of numbers in column N (highlighted in red) in order to test out the approach.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  7. #7
    Registered User
    Join Date
    07-18-2013
    Location
    US
    MS-Off Ver
    Excel 2011
    Posts
    4

    Re: Index Tie issue in a Leaderboard

    Thank you all so much! I now have two ways to make this work. I can't even explain how much frustration you just eliminated.

  8. #8
    Registered User
    Join Date
    07-18-2013
    Location
    US
    MS-Off Ver
    Excel 2011
    Posts
    4

    Additional--Re: Index Tie issue in a Leaderboard

    Quote Originally Posted by icestationzbra View Post
    see if this is what you meant.

    i fudged a couple of numbers in column N (highlighted in red) in order to test out the approach.
    Thanks so much for your help. I needed to expand the number of athletes in the event, and I thought I could simply copy the formulas, but I've hit a brick wall. I'm lost as to what happens after the copy-and-paste. I must be overlooking something, but I'm lost. Any idea? new file attached.
    Attached Files Attached Files

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Index Tie issue in a Leaderboard

    Give this a try.

    In O4, copied down...
    =N4+(COUNTIF($N$4:N4,N4)/100)

    Then in Q4, copied down...
    =INDEX($A$4:$A$28,MATCH(LARGE($O$4:$O$28,ROW(A1)),$O$4:$O$28,0),1)
    and in R4, copied down...
    =INDEX($M$4:$M$28,MATCH(LARGE($O$4:$O$28,ROW(A1)),$O$4:$O$28,0),1)

    You can hide the formula in O (or move it out the way)

    To increase the range, just increase the $28 parts

  10. #10
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: Additional--Re: Index Tie issue in a Leaderboard

    Quote Originally Posted by marklosey View Post
    ... I thought I could simply copy the formulas, but I've hit a brick wall. I'm lost as to what happens after the copy-and-paste. I must be overlooking something, but I'm lost. Any idea? new file attached.
    See if this works for you...

    Converted the whole thing to a Table, and modified the formulas accordingly. If you insert or delete rows, the formulas should autmatically "adjust". Some of the formulas may look funky, because the column headers have line returns in them, and they may appear over several lines.
    Attached Files Attached Files
    Last edited by jhren; 07-22-2013 at 04:16 PM.

+ 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. Making a leaderboard in excel
    By mmaher5 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2012, 03:17 PM
  2. Top 10 leaderboard
    By jlevs95 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-08-2012, 03:05 PM
  3. creating a leaderboard
    By mattbombers in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-01-2012, 03:17 PM
  4. Leaderboard
    By Augusta in forum Excel General
    Replies: 5
    Last Post: 12-28-2011, 10:01 AM
  5. Automatic Leaderboard
    By dfd0001 in forum Excel General
    Replies: 3
    Last Post: 12-15-2011, 02:23 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