Minimum value in a range > 0

G

Guest

I have a range of cells where I would like to find the minimum value greater
than 0.

For example:

18
12
0
16
19

I need a formula to look at the entire range and result in the lowest value,
in this case 12.

Thanks for the help.
 
J

JulieD

Hi Barbara

assuming your range is in A1:A5 then the following array formula should give
you what you're looking for - (as this is an array formula you will need to
enter it using ctrl & shift & enter instead of just enter)

=MIN(IF($A$1:$A$5>0,$A$1:$A$5))

Cheers
JulieD
 
D

Don Guillett

non array enter with enter only
=SMALL(C1:C10,COUNTIF(C1:C10,0)+1)

array - enter with control+shift+enter
=MIN(IF(C1:C10>0,C1:C10))
 

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