ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel 2002 Min Function (https://www.excelbanter.com/excel-discussion-misc-queries/141176-excel-2002-min-function.html)

ELB

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

Thanks
--
ELB

Elkar

Excel 2002 Min Function
 
Try this array formula:

=MIN(IF(A1:A100,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


"ELB" wrote:

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

Thanks
--
ELB


T. Valko

Excel 2002 Min Function
 
Here's a non-array version (assumes all numbers are positive):

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

Biff

"ELB" wrote in message
...
How can I use the MIN function to return the smallest number that is
greater
than 0?

Thanks
--
ELB




JMB

Excel 2002 Min Function
 
Another alternative:
=SMALL(A1:A10, COUNTIF(A1:A10,0)+1)


"ELB" wrote:

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

Thanks
--
ELB



All times are GMT +1. The time now is 10:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com