+ Reply to Thread
Results 1 to 7 of 7

Need tie breaker for ranking

Hybrid View

BuzzT Need tie breaker for ranking 02-08-2011, 12:35 PM
DonkeyOte Re: Need tie breaker for... 02-08-2011, 12:39 PM
BuzzT Re: Need tie breaker for... 02-08-2011, 12:54 PM
DonkeyOte Re: Need tie breaker for... 02-08-2011, 01:04 PM
DonkeyOte Re: Need tie breaker for... 02-08-2011, 01:10 PM
ChemistB Re: Need tie breaker for... 02-08-2011, 12:58 PM
BuzzT Re: Need tie breaker for... 02-08-2011, 01:34 PM
  1. #1
    Registered User
    Join Date
    12-30-2010
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2003
    Posts
    31

    Need tie breaker for ranking

    The attached spreadsheet (which has a bunch of hidden columns) is being used to generate points based on ranking and then at the end of the 4 weeks, give a ranking based on the 4 weeks' totals.

    The only problem I have right now, is that if there is a tie in the final point score (column V) the rankings (coulmn W) are assigned sequentially in the order of the rows on the spreadsheet (i.e. if Name 3 and Name 4 were tied for third place, Name 3 would be third and Name 4 would be fourth).

    What I need is to use column Y as the tie breaker. So, if Name 3 had 16 in column Y and Name 4 had 17, Name 4 would in fact be in thrid place, Name 3 would be in fourth, and then the ranking would continue with 5th and 6th places being assigned sequentially.

    I have tried making changes in Column W, but even after many combinations I have still had no success thus far.

    Any ideas?
    Attached Files Attached Files
    Last edited by BuzzT; 02-08-2011 at 01:34 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Need tie breaker for ranking

    Perhaps:

    W3:
    =1+SUMPRODUCT(($V$3:$V$8+$Y$3:$Y$8/1000>$V3+$Y3/1000)+0)
    copied down to W8
    of course you might still want to add a unique identifier to the above (ROW) to account for multiple instances of V & Y being identical.

  3. #3
    Registered User
    Join Date
    12-30-2010
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Need tie breaker for ranking

    Holy...! How did you come up with that so fast? This is almost there, but what I did notice is that in the (unlikely) event, that there is also a tie in column Y, I have 2 identical rankings, which will then break my vlookup a litte further down. Is there a way to have a combination of what I had previously and this? So, if there was a tie, go to the tie breaker, and if there is also a tie there, rank sequentially?

    I know it's a lot, but it would be perfect if I could do that...

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Need tie breaker for ranking

    If I've understood - in terms of precedence:

    Rank by V (big before small)
    Where V Match Rank by Y (big before small)
    Where V & Y match Rank by Row number (small > big)

    =1+SUMPRODUCT(($V$3:$V$8+$Y$3:$Y$8/1000-MOD(ROW($V$3:$V$8)-ROW($V$3)+1,-(ROWS($V$3:$V$8)+1))/1000000>$V3+$Y3/1000-MOD(ROWS($V$3:$V3),-(ROWS($V$3:$V$8)+1))/1000000)+0)
    edited: missing some parentheses
    Last edited by DonkeyOte; 02-08-2011 at 01:07 PM.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Need tie breaker for ranking

    edit: this version is probably a little simpler:

    W3:
    =1+SUMPRODUCT(($V$3:$V$8*10^5+$Y$3:$Y$8+1-ROW($V$3:$V$8)/1000>$V3*10^5+$Y3+1-ROW($V3)/1000)+0)
    copied down
    creates a unique number for each row: Vn * 10^5 + Yn + 1-Row(n)/1000 ... use of 1-Row/1000 is so that the lower the row the bigger the decimal

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Need tie breaker for ranking

    What I would do,
    Insert a column W
    W3 (dragged down) = V3*1000 + Z3
    Then RANK on column W in X3
    =RANK(W3,$W$3:$W$8) dragged down
    Does that work for you? Not sure why you used such a complex RANKing formula?

    RANK will rank ties (in case V and Z are tied) with the same number and then skip a number (common in tournaments, 1st, 2nd, 2nd, 4th for example)
    It can be modified to give discrete values
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  7. #7
    Registered User
    Join Date
    12-30-2010
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Need tie breaker for ranking

    ChemistB and DonkeyOte - I am in awe. Thanks so much for this!

+ 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