View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Yogi Anand--www.energyefficientbuild.com Yogi Anand--www.energyefficientbuild.com is offline
Banned
 
Posts: 1
Default RANK with 0 values

Hi JN:

Let us try the following in cell D2 ...

=IF(C2=0,"",RANK(C2,C$2:C$6))
and then copying it down.



"JN" wrote:

I am trying to rank in ascending order a list of numbers where some of the
cells have 0 values. I would like the 0 values to be ignored and not ranked.
Is this possible?

Example:

Col C The ranking I would like:
4813.29 3
7025.59 2
0 [cell would be blank]
0 [cell would be blank]
8287.85 1