conditional MIN

wwbwb

Well-known Member
Joined
Oct 20, 2003
Messages
513
How can I find the lowest number, not equal to 0, in a column. I have a column, I9:I60. I need to find the smallest number, but not any zeros. :unsure:
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Try this:

Code:
=SMALL(A11:A18,COUNT(A11:A18)-COUNTIF(A11:A18,">0")+1)

edit: sorry about that last one if you used it. try this.
 
Upvote 0
wwbwb said:
How can I find the lowest number, not equal to 0, in a column. I have a column, I9:I60. I need to find the smallest number, but not any zeros. :unsure:

If I9:I60 is not supposed to house any neg values, then either:

=MIN(IF(I9:I60>0,I9:i60))

which must be confirmed with control+shift+enter instead of just enter.

or:

=SMALL(I9:I60,COUNTIF(I9:I60,0)+1)

Otherwise:

=MIN(IF((I9:I60<>0),I9:i60))

which is also to be confirmed with control+shift+enter.
 
Upvote 0
I knew Aladin would come up with a much more concise formula.

Nice work as always Aladin. (y)
 
Upvote 0

Forum statistics

Threads
1,214,587
Messages
6,120,405
Members
448,958
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top