Pick the low number in a column of Numbers

B

boxarox

I have a column of numbers that are the results from formulas. in the absence
of enter values, the results column (say D) show several zeros.

I use =min(d1:d16) placed in column E to return the lowest value in the
colunm D which is ussually zero.

What I want to do is ignore the zeros and pick the lowest numer that is not 0.

=IF(e12<=0,e12,SMALL(d5:d12,2)) works for a column of negative numbers,
because they are all less than zero.

I can't seem to get the formula right For Positive integers.

Help please
 
M

muddan madhu

suppose u have values in range d5:d12 ...

Try this =SMALL(D5:D12,COUNTIF(D5:D12,0)+1)
 

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