Supressing the #DIV/0! message in this formula?

  • Thread starter Thread starter Al
  • Start date Start date
A

Al

=IF(ISBLANK(B276:B306),"",AVERAGE(B276:B306))


Any help appreciated. I would think the above would work, but it doesn't.

Al
 
I assume you mean you get the error when there is no data in B276:B306.
Try:

=IF(ISERROR(AVERAGE(B276:B306)),0,AVERAGE(B276:B306))

HTH

Sandy
 
duane said:
=IF(sum(B276:B306)=0,"",AVERAGE(B276:B306))

Works like a charm...I tried some variation of this ( or so I
thought), but it did not work....

This does..

Thanks...
 
Back
Top