Search code examples
excelranking

Excel Ranking tie assistance


Can anyone help me to do the following in relation to ties when using the Excel Rank function?

Col A contains scores and B contains the rank. I am quite happy with this except that I would like to show an '=' next to the ranking where it is a tie:

Score   Rank
66  3
64  4= 
63  6 
68  2
64  4=  
81  1

etc

Many thanks.


Solution

  • You can combine your RANK with COUNITF. Place the following into cell B3 as per the example

    =RANK(A3,$A$3:$A$7)&IF(COUNTIF($A$3:$A$7,A3)>1,"=","")
    

    enter image description here

    Note, if you are using Excel 2013 or 2016, it would be a good idea to replace RANK with RANK.EQ