
Originally Posted by
MS Excel help files
RANK gives duplicate numbers the same rank. However, the presence of duplicate numbers affects the ranks of subsequent numbers. For example, in a list of integers sorted in ascending order, if the number 10 appears twice and has a rank of 5, then 11 would have a rank of 7 (no number would have a rank of 6).
For some purposes one might want to use a definition of rank that takes ties into account. In the previous example, one would want a revised rank of 5.5 for the number 10. This can be done by adding the following correction factor to the value returned by RANK. This correction factor is appropriate both for the case where rank is computed in descending order ( order = 0 or omitted) or ascending order ( order = nonzero value).
Correction factor for tied ranks=[COUNT(ref) + 1 – RANK(number,ref, 0 ) – RANK(number,ref, 1 )]/2.
Bookmarks