min conditional statement

M

Maria L

I am trying to find a the smallest number that is greater
than 0. I used the following:

=MIN(IF(B5:W5>0, B5:W5))

But I am getting an error #VALUE!

What am I doing wrong
 
D

Dan E

Maria,

That will work if you array enter it.
(control + shift + enter)
if you do it right { } will appear around your formula.

If you don't want to use array formula's

=SMALL(A6:A13,COUNTIF(A6:A13,">0")+1)

Dan E
 

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