When you need to determine the relative position of a number in a list of numbers, the easiest way is to sort the numbers in ascending or descending order. If for some reason sorting is not possible, the Excel RANK function is the perfect tool to do the job. Continue reading
by
Comments page 2. Total comments: 78
How do you prevent the rank from repeating itself...like two values given 1...at the same time
Hi Olive,
Check out these solutions: How to rank numbers uniquely
I have 20 golfers with all their gross scores from holes 1 through 18 and a total gross ... all that data in a row for each golfer. We pay 4 best gross scores. When there is a tie we go back to each hole starting at hole #1 and look for the lower score(s) which eliminates the other golfers for this payout. Then go to next hole and continue until there is only 1 golfer remaining who gets this payout award for the rank position ($40 for 1st, $30 for 2nd, $20 for 3rd, $10 for 4th). We encountered a situation where 4 golfers had the same GROSS score, on hole #1 2 of them had the same score and better (lower) than the other 2. The tie between these lower 2 finally broke by hole #10; this determined payouts for 1st and 2nd. Of the remaining 2 golfers to determine payout 3 and 4, the tie break came on hole # 5. We did all this manually/visually. Can we get this in xls formulas?? Thank you.
btw ... tie breaks is a common occurrence in golf so a formula solution would help many tournament organizers.
yes, you can do this through code in excel
Is there any way to do rank where you don't skip?
For instance
Score Rank
30 1
28 2
28 2
27 4
I would like it so that the 27 is a 3, is this possible?
I found an answer to this...
=SUMPRODUCT((G2 < G$2:G$27)/COUNTIF(G$2:G$27,G$2:G$27))+1
Is there any way to do the above based on a value in another column? Let's say column A contains a group number assignment (1,2 and 3).
Mathew Collen, what you are asking about is my current dilemma. Did you ever find an answer?
The Rank.eq function will not allow me to lock the ref array. I can't figure out why this is happening. Do I have to hand enter each and every cell?
Hi Susan,
To lock the ref range, use absolute cell references with the $ sign, e.g. $A$2:$A$10. To toggle between the reference types, simply select the reference in the formular bar and press F4.
For more informatiop, please see Absolute and relative cell references in Excel.