AVERAGE function
Blanks are already ignored.
=AVERAGE(IF(ISNUMBER(A1:A100),A1:a100))
which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
"JRD" wrote in message
...
Can anyone tell me whether there is a way to average a whole column of
numbers but ignoring blank cells or cells with errors in
e.g.
Column A
1
2
4
5
3
5
4
DIV0!
DIV0!
3
4
blank
2
Many thanks
John
|