+ Reply to Thread
Results 1 to 12 of 12

Ranking - Ties

  1. #1
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Question Ranking - Ties

    I've a problem with scoring using the rank formula.

    Example: four players score, 28,17,39,6. The 39 score wins, gets 4 points, 28 = 3points, 17 = 2 points, 6 = 1 point.

    The rank formula will work this out fine.

    However if you get two scores tied, for example 28, 28, 39, 6, using rank the points score for each 28 returns 2 when I actually need it to be 2.5
    (Thats 3points +2points / 2).

    Any ideas how to make this happen or even if it is possible?

    Thanks.

  2. #2
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Ranking - Ties

    Helper column may help u.

    Put this formula into A1 and copy it down
    Please Login or Register  to view this content.
    In column B your values 28.28.39.6
    In C1 formula:
    Please Login or Register  to view this content.
    See file
    Last edited by contaminated; 06-29-2009 at 05:02 PM.
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Ranking - Ties

    Thank you for such a rapid response.

    I've looked at your attached file and sort of understand what you've done, however your result is that the two equal scores now receive different points when I actually require them to receive the same points, 2.5, which is 3 points for second + 2 points for third, divided by 2.

    Difficult one eh?

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Ranking - Ties

    No, its fairly easy. You want the points plus an additional value added only when there is more than one equal score

    Take a look at my attached file
    I have a lookup table in columns F and G

    What you're after is column C + column D
    Attached Files Attached Files
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  5. #5
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Ranking - Ties

    Sorry, i don't seem able to make myself clear. I've now added an attachment with 5 games & results. The second box is the result I get using the rank formula which is correct except when there is a tie, the third box (marked in yellow) is how the result should be.
    Attached Files Attached Files

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

    Re: Ranking - Ties

    Does this do what you want?
    It's set up to calculate for only 2 way ties. An additional IF statement could take care of 3 way ties.
    Attached Files Attached Files
    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
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Ranking - Ties

    You can use a single formula to cope with any number of ties, i.e. in G2 copied down and across

    =SUMPRODUCT(($B2:$E2<B2)+($B2:$E2=B2)/2)+0.5

    see attached
    Attached Files Attached Files
    Last edited by daddylonglegs; 06-17-2009 at 02:57 PM.

  8. #8
    Forum Contributor
    Join Date
    04-01-2009
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    280

    Re: Ranking - Ties

    Here is my approach...
    Attached Files Attached Files

  9. #9
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Ranking - Ties

    Wow, thank you guys, I'm sure one of either of those will do the trick just fine. Much obliged.

  10. #10
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Ranking - Ties

    Hi all, back again.

    This problem is almost solved using the "choose" formula suggested, however although there are no scores registered yet, the formula still gives a points tally (Row 6) that is not valid.

    Is it possible for the points to show as zero until an actual score is entered, even if that score is zero?
    Attached Files Attached Files

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

    Re: Ranking - Ties

    I would suggest using the formula provided by daddylonglegs - adapting per your layout.... given the way you have laid out the data I would keep R:U so you have the results linking into a contiguous range, remove N:Q as these aren't required.. then to get your values in C,F,I,L:

    C3: =IF(COUNTIF($R3:$U3,"<>0"),SUMPRODUCT(($R3:$U3<B3)+($R3:$U3=B3)/2)+0.5,0)

    copied down to rows 4 & 5 and subsequently copied to columns F, I & L

    the above assumes that if any score in R:U <> 0 then any 0's that do exist are valid results to be allocated points accordingly.
    Last edited by DonkeyOte; 07-06-2009 at 07:50 AM. Reason: altered reference to R3 to B3 so as to ease formula transition when applied across non contiguous range

  12. #12
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Ranking - Ties

    Yep, that's done it.

    Thank you very, very, much.

+ 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