min excluding zero values?

lukman4068

New Member
Joined
Jun 15, 2009
Messages
24
is there any such MIN formula in excel 2003 which will return the smallest value of an array excluding zero values? I could set up a bunch of if formulas to return blanks instead of zero values however with the dataset as large as it is, it isn't really an option.

I'm thinking the formula would be something like =if(Array"<>"0,Min(Array)) and CTRL Shift Enter

but this doesn't work - it still returns zero values so I don't quite know how get around that. any ideas would be appreciated! thanks!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
See my previous reply. Assuming you only have positive values and zero you could also use this non-array version

=SMALL(Range,COUNTIF(Range,0)+1)
 
Upvote 0

Forum statistics

Threads
1,214,655
Messages
6,120,760
Members
448,991
Latest member
Hanakoro

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