Forum Discussion
itsMonty
Jul 07, 2025Brass Contributor
How to correct "#N/A" when using Rank function and Index function
I am trying to create somewhat of a scoreboard that eliminates the lowest ranking player per level. The problem is, sometimes the players have the same score and my formulas end up showing the them a...
OliverScheurich
Jul 08, 2025Gold Contributor
=RANK(C2,$C$2:$C$8,0)+COUNTIF(C2:$C$8,C2)-1
Does this formula return the intended result?
- m_tarlerJul 08, 2025Bronze Contributor
alternatively you could use:
=RANK(C2,$C$2:$C$8,0)+A2/100000
for the rank and then:
=INDEX(B$2:B$8,MATCH(SMALL($H$2:$H$8,$A2),$H$2:$H$8,0))
for the Leading and Points
Then format the RANK column to not show the decimal places and then you won't confuse people why the "same score" results in different "rank"
or in newer versions of Excel you can just use:
=SORT(B2:.C8,2,-1)
and it will spill out all the leaders and points in order (don't need to adjust the Rank at all)