Ignoring #DIV/0!

B

Bob Phillips

Something like

=IF(B1=0,"",A1/B1)

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
H

Harlan Grove

tillyosu wrote...
How can I make excel ignore a #DIV/0! error when averaging a range of
cells???

Meaning something like AVERAGE(B5:D10) returns #DIV/0! ? That only
happens when there are no numeric values in the range or when one or
more of the cells in the range evaluates to #DIV/0! . You probably
shouldn't ignore the latter.

As for the former, it depends on what you want to show, but the generic
approach is

=IF(COUNT(B5:D10),AVERAGE(B5:D10),"")
 

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