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
 
Back
Top