Averaging Only Positive Numbers in a Range

  • Thread starter Premier Marketing Dept.
  • Start date
P

Premier Marketing Dept.

Does anyone know the formula for averaging only positive numbers in a
range of cells?

I used my Excel 2003 book and I got the following formula:

{=SUM(IF(B3:B20>0,B3:B20,0))/COUNTIF(B3:B20,">0")) but it only returns
a #VALUE! to me in the cell.

Any help would be hugely appreciated.

You can post here or email me directly at (e-mail address removed). Thank
you!
 
D

Domenic

Does anyone know the formula for averaging only positive numbers in a
range of cells?

I used my Excel 2003 book and I got the following formula:

{=SUM(IF(B3:B20>0,B3:B20,0))/COUNTIF(B3:B20,">0")) but it only returns
a #VALUE! to me in the cell.

Any help would be hugely appreciated.

You can post here or email me directly at (e-mail address removed). Thank
you!

Another way,

=AVERAGE(IF(B3:B20>0,B3:B20)), entered using 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

Top