View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Equal ranks - but no gaps

one method would be to use some helper columns(C:D?)

use advanced filter to generate a list of unique numbers from column A in
the first helper column
in the second helper column, use the rank() function on the first helper
column
in column B use vlookup(A2,C$1!:D$3,2) copy and drag down


"Thomas" wrote:

I checked quite a number of answers in this area, but couldn't find a
solution to my little ranking problem (column B is the ranking as I would
like to see it):

A B
1 Value Rank
2 1 1
3 1 1
4 1 1
5 2 2 <----- that being the 'tricky' part :)
6 3 3

Thank you very much!
Thomas