Average function

J

Jeff Kimbell

When I use the average function over a range of cells that
includes a cell with "#VALUE!", the function returns
with "#VALUE!". The description of the average function
is that it ignores non-numerical values. That is what I
want. How can I get it to ignore "#VALUE!"? Thanks.
 
H

Harlan Grove

When I use the average function over a range of cells that
includes a cell with "#VALUE!", the function returns
with "#VALUE!". The description of the average function
is that it ignores non-numerical values. That is what I
want. How can I get it to ignore "#VALUE!"? Thanks.

=AVERAGE(IF(ISNUMBER(YourRangeHere),YourRangeHere))

entered as an array formula, meaning hold down [Ctrl] and [Shift] keys before
pressing [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