averages formula

G

Guest

i have a column, A1 - A10. Cell A11 is the average of all those numbers in
those cells. How do i manipulate the formula so the average doesn't
include the numbers in cells A4 and A8? Or more correctly, i dont want the
average to include any values that are less then 400.
I have tried this formula, but it ddnt work.
=average(A1:A10)/COUNTIF(A1:A10,">400")
 
P

Peo Sjoblom

A couple of ways

=SUMIF(A1:A10,">=400")/COUNTIF(A1:A10,">=400")

or

=AVERAGE(IF(A1:A10>=400,A1:A10))

the latter entered with ctrl + shift & enter

--
Regards,

Peo Sjoblom

(No private emails please)
 

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