minimum formual help

  • Thread starter Thread starter scott
  • Start date Start date
S

scott

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
 
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.
 
You can try this non-array approach:

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top