View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default ranking with some blank spaces


If your numbers are in A2:A21 then use this formula in B2 copied down

=IF(A2<"",SUMPRODUCT(--(A$2:A$21<""),--(A$2:A$21A2))+1,"")

note: this asssumes that you want to rank from highest to lowest.....


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=533150