Excel 2002 Min Function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I use the MIN function to return the smallest number that is greater
than 0?

Thanks
 
Try this array formula:

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

Array formulas must be entered with CTRL-SHIFT-ENTER instead of just Enter.
If done properly, the formula should be enclosed in { }.

HTH,
Elkar
 
Here's a non-array version (assumes all numbers are positive):

=SMALL(A1:A10,COUNTIF(A1:A10,0)+1)

Biff
 

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

Back
Top