averages formula

G

Gerald

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)
 
Top