min value not zero

G

Guest

I am looking for a way to evaluate three columns of values to find the one
that is the minimum and not zero. for example:
ColA colB ColC
2.5 3.2 0

The formula should return 2.5.

Any help would be appreciated.

JRForm.
 
G

Guest

Use one of these arrary formulas, depending if you want to allow for negative
numbers or not:

=MIN(IF(A1:C1>0,A1:C1))

=MIN(IF(A1:C1<>0,A1:C1))

NOTE: Array formulas must be entered with CTRL-SHIFT-ENTER instead of just
Enter. If done properly, the formula will be enclosed in { }.

HTH,
Elkar
 
G

Guest

Elkar,

Thank you

Elkar said:
Use one of these arrary formulas, depending if you want to allow for negative
numbers or not:

=MIN(IF(A1:C1>0,A1:C1))

=MIN(IF(A1:C1<>0,A1:C1))

NOTE: Array formulas must be entered with CTRL-SHIFT-ENTER instead of just
Enter. If done properly, the formula will be enclosed in { }.

HTH,
Elkar
 

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