Do you mean if each cell is greater than 0, include in average, or just if
the sum of numbers is greater than 0, average them?
Former:
=SUMIF(A1:A10,">0")/COUNTIF(A1:A10,">0")
Latter
=IF(SUM(A1:A10)>0,AVERAGE(A1:A10),"")
Thank you, the =IF(SUM(A1:A10)>0,AVERAGE(A1:A10),"") formula is the one I
need.
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.