+ Reply to Thread
Results 1 to 6 of 6

Ranking question (ties)

  1. #1
    Registered User
    Join Date
    04-08-2006
    Posts
    3

    Ranking question (ties)

    I'm keeping track of a golf tournament and I've got the RANK function working the way I want the only thing I'd like to see is if there is a tie, that the letter "t" be added. for example. Thanks for any help.

    PLACE
    1
    2
    3t
    3t
    3t
    6
    7
    8t
    8t
    10

  2. #2
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    something like this, where here I rank the value in cell b6 relative to those in b5:b15

    =IF(COUNTIF($B$5:$B$15,B6)=1,RANK(B6,$B$5:$B$15,1),RANK(B6,$B$5:$B$15,1)&"t")
    not a professional, just trying to assist.....

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486
    rank vlookup

    --------------------------------------------------------------------------------

    =RANK(A2,$A$2:$A$22)&IF(OR(VALUE(RIGHT(RANK(A2,$A$ 2:$A$22),2))={11,12,13}),"th",IF(OR(VALUE(RIGHT(RA NK(A2,$A$2:$A$22)))={1,2,3}),CHOOSE(RIGHT(RANK(A2, $A$2:$A$22)),"st","nd","rd"),"th"))
    I tried it out, if there were ties it worked out the placements accordingly
    also when I entered 0 it gave the last placing the only time I got a NA or error was when the cell was truely blank
    Hope this helps

    Here's a site you can use to check out Ranking

    http://xldynamic.com/source/xld.RANK.html

  4. #4
    Registered User
    Join Date
    04-08-2006
    Posts
    3
    Thanks for the help!

  5. #5
    Gary''s Student
    Guest

    RE: Ranking question (ties)

    If
    1
    2
    3
    3
    3
    6
    7
    8
    8
    10
    are in column A, then in B2 put:
    =IF(OR(A2=A3,A2=A1),A2&"t",A2) and copy down to see

    2
    3t
    3t
    3t
    6
    7
    8t
    8t
    10

    --
    Gary''s Student


    "rozeltf" wrote:

    >
    > I'm keeping track of a golf tournament and I've got the RANK function
    > working the way I want the only thing I'd like to see is if there is a
    > tie, that the letter "t" be added. for example. Thanks for any help.
    >
    > PLACE
    > 1
    > 2
    > 3t
    > 3t
    > 3t
    > 6
    > 7
    > 8t
    > 8t
    > 10
    >
    >
    > --
    > rozeltf
    > ------------------------------------------------------------------------
    > rozeltf's Profile: http://www.excelforum.com/member.php...o&userid=33295
    > View this thread: http://www.excelforum.com/showthread...hreadid=531189
    >
    >


  6. #6
    Registered User
    Join Date
    04-08-2006
    Posts
    3
    Gary''s student - perfect, thanks

+ 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