Average

  • Thread starter Thread starter Matt
  • Start date Start date
=SUMIF(A2:E2,"<>0")/COUNTIF(A2:E2,"<>0")

you can also use an array formula like


=AVERAGE(IF(2:2<>0,2:2))

entered with ctrl + shift & enter


--


Regards,


Peo Sjoblom
 
=sum(1:1)/(count(1:1)-countif(1:1,0))

(if you're looking at row 1)
 
What I have is the average of C38:p38 I dont want to average any 0 that may
showup in these cells..
 

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