RANK with 0 values

J

JN

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
 
J

JN

Thanks so much!!!!

Gary''s Student said:
=IF(A1=0,"",RANK(A1,A1:A5))

--
Gary''s Student - gsnu200715


JN said:
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
 
Y

Yogi Anand--www.energyefficientbuild.com

Hi JN:

Let us try the following in cell D2 ...

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