RANK with 0 values

G

Guest

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
 
G

Guest

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
 
G

Guest

Hi JN:

Let us try the following in cell D2 ...

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top