having 0 as a min when running mina or average

  • Thread starter Thread starter Tim
  • Start date Start date
T

Tim

Hi I am trying to simplify my spreadsheets, and would like a minimum column.
I can not find out how to not include cells with 0 in.

Same as when doing an average for a row of months, I would also not like to
count months with 0 .

Thanks Tim
 
=MIN(IF(A2:A100<>0,A2:A100))


=AVERAGE(IF(A2:A100<>0,A2:A100))



entered with ctrl + shift & enter
 
Thanks for this amazingly fast reply.

Peo Sjoblom said:
=MIN(IF(A2:A100<>0,A2:A100))


=AVERAGE(IF(A2:A100<>0,A2:A100))



entered with ctrl + shift & enter
 

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