Hi,
I'm using the RANK function with COUNTIF to uniquely rank all values within a range (=RANK(A2,$A$2:$A$11,0)+COUNTIF($A$2:A2,A2)-1).
The removing duplicates is working great for most of my values, but I've currently got two values of exactly 7.5% (I've checked using a =A1=A2 style test) which are returning different ranks in the standalone RANK function, which is then messing things up when it's combined with the countif function - the second 7.5% value is ranked differently from the first by the RANK function, but is then recognised as a duplicate value by the COUNTIF function which then dutifully adds one to the rank, which means that it now has the same rank as the next smallest value).
Does anyone have any clue why this might be happening?
Thanks in advance!
Rebecca
I'm using the RANK function with COUNTIF to uniquely rank all values within a range (=RANK(A2,$A$2:$A$11,0)+COUNTIF($A$2:A2,A2)-1).
The removing duplicates is working great for most of my values, but I've currently got two values of exactly 7.5% (I've checked using a =A1=A2 style test) which are returning different ranks in the standalone RANK function, which is then messing things up when it's combined with the countif function - the second 7.5% value is ranked differently from the first by the RANK function, but is then recognised as a duplicate value by the COUNTIF function which then dutifully adds one to the rank, which means that it now has the same rank as the next smallest value).
Does anyone have any clue why this might be happening?
Thanks in advance!
Rebecca