How to tackle Division by zero for DAVERAGE function

S

Sharma

I am using DAVERAGE function and teh resulkt is #DIV/0!. How to change this
display in a cell to blank or "-"?
 
B

Biff

Hi!

An AVERAGE(IF(........................) array formula would probably be
easier!

Try this:

=IF(ISERROR(your_formula)),"",your_formula)

That will return a blank. If you want the dash:

=IF(ISERROR(your_formula)),"-",your_formula)

Biff
 

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