Find smallest number that is not zero

fernipascual

Board Regular
Joined
Sep 3, 2009
Messages
76
Hi again. How do I find the smallest number in a list that is not zero, especially if I have multiple rows with zero values.

I tried SMALL(range,2) but still got zero.

thanks
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try

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

confirmed with CTRL + Shift + Enter, not just Enter.
 
Upvote 0
Try

=MIN(IF(range<>0,range))

IMPORTANT:
This is an array formula Enterd with CTRL + SHIFT + ENTER
 
Upvote 0
Hi again. How do I find the smallest number in a list that is not zero, especially if I have multiple rows with zero values.

I tried SMALL(range,2) but still got zero.

thanks

I suspect that you mean the smallest non-zero positive number...

Just enter:

=SMALL(Range,COUNTIF(Range,"<=0")+1)

Or control+shift+enter, not just enter:

=MIN(IF(Range>0,Range))
 
Upvote 0

Forum statistics

Threads
1,224,537
Messages
6,179,405
Members
452,911
Latest member
a_barila

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