Article ID: 60116 - Last Review: November 16, 2006 - Revision: 2.1 XL: Returning the Smallest Number Greater Than ZeroThis article was previously published under Q60116 SUMMARY
The Microsoft Excel MIN function returns the smallest number in a list
of arguments. If the smallest number is zero (0), the function returns
zero.
To return the smallest number greater than zero, enter the following array formula
=MIN(IF(A1:A10>0,A1:A10))
where A1:A10 represents the range of the numbers. This returns an
array of a single value with the smallest positive number.
NOTE: To enter an array formula in Excel for the Macintosh, press COMMAND+RETURN. | Article Translations
|
Back to the top
