Supress error message

  • Thread starter Thread starter Jim Anderson
  • Start date Start date
J

Jim Anderson

I am using the formla:
=average(b35:b47)
to put the average of cells b35 to b47 into cell b48.
Is there a way to avoid the cell b48 showing the result :
#DIV/0!
when I have no entries in the range of aforementioned cells?
Thank you
Jim
 
try this ARRAY formula which must be entered/edited with CSE
(ctrl+shift+enter)
=AVERAGE(IF(C1:C5<>"",C1:C5))
 
Dave
Thank you very much!
This formula worked perfectly for me.
I appreciate your help very much.
Jim
 

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

Back
Top