ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   minimum formual help (https://www.excelbanter.com/excel-discussion-misc-queries/173913-minimum-formual-help.html)

scott

minimum formual help
 
Simple but can not get this. I have just 12 cells need to pick out the
minimum excluding 0. Tried =min(if(b1:b13<0)) and entered as an arrary.comes
back as error with 0 highlighted. Any help would be appreciated

Thanks Scott

Roger Govier[_3_]

minimum formual help
 
Hi Scott
try array entering the formula
{=MIN(IF(B1:B13<0, B1:B13,""))}

To enter, or amend an array formula, use Control+Shift+Enter (CSE) not just
Enter.
Do not type the curly braces { } yourself, if you use CSE, Excel will
insert them for you.

--

Regards
Roger Govier

"scott" wrote in message
...
Simple but can not get this. I have just 12 cells need to pick out the
minimum excluding 0. Tried =min(if(b1:b13<0)) and entered as an
arrary.comes
back as error with 0 highlighted. Any help would be appreciated

Thanks Scott



Tyro[_2_]

minimum formual help
 
Try this entered as an array formula =MIN(IF(B1:B13<0,B1:B13))

Tyro
"scott" wrote in message
...
Simple but can not get this. I have just 12 cells need to pick out the
minimum excluding 0. Tried =min(if(b1:b13<0)) and entered as an
arrary.comes
back as error with 0 highlighted. Any help would be appreciated

Thanks Scott




RagDyeR

minimum formual help
 
You can try this non-array approach:

=SMALL(B1:B13,COUNTIF(B1:B13,0)+1)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"scott" wrote in message
...
Simple but can not get this. I have just 12 cells need to pick out the
minimum excluding 0. Tried =min(if(b1:b13<0)) and entered as an
arrary.comes
back as error with 0 highlighted. Any help would be appreciated

Thanks Scott





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

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