min formula

B

Bill H.

How do I construct a formula that will find the minimum in a column of
numbers (which may include positive and negative values) while ignoring any
cells with a zero value?

Thx.
 
T

T. Valko

Try this array formula** :

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

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.
 
B

Bill H.

so far, so good!

Thx!!

--Bill

T. Valko said:
Try this array formula** :

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

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the
SHIFT key then hit ENTER.
 

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