average positive numbers

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Simple question...I'm trying to obtain an average but only want to include
those cells with positive numbers in the average. Any ideas?
 
One way (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN):

=AVERAGE(IF(A1:A100>0,A1:A100))
 
this is an ARRAY formula so must be entered/edited with ctrl+shift+enter

=AVERAGE(IF(H2:H10>10,H2:H10))
 
Simple question...I'm trying to obtain an average but only want to include
those cells with positive numbers in the average. Any ideas?


=SUMIF(rng,">0")/COUNTIF(rng,">0")

The above does not include "0" values.


--ron
 

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