View Single Post
  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bosco_yip[_2_] bosco_yip[_2_] is offline
external usenet poster
 
Posts: 24
Default Min excluding zero values, without an array fomrula

Min excluding zero values, with postive and negative values present.

1] An array formula :

{=MIN(--TEXT(R2:AA2,"[=]9.99E+307"))}

2] An non-array formula :

=SMALL(R2:AA2,IF(COUNTIF(R2:AA2,"<0"),1,COUNTIF(R2 :AA2,0)+1))

Regards
Bosco


"art" wrote:

Hello:

I have a formula to calculate the Min value of a range that has includes
zero values, which the min formula ignors the zero valus. However, it is an
array function which slows down my spreadsheet, since I have this array
formula on a long list. Is there a way to calculate the min of a range which
has also some zero values without an array function?

The formula I use now is as follows:

={MIN(IF(R2:AA20,R2:AA2))}

Thanks.

Art