Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jim Anderson
 
Posts: n/a
Default Supress error message

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


  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Another way:

=IF(COUNT(B35:B47)0,AVERAGE(B35:B47),"")



Jim Anderson wrote:

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


--

Dave Peterson
  #4   Report Post  
Jim Anderson
 
Posts: n/a
Default

Dave
Thank you very much!
This formula worked perfectly for me.
I appreciate your help very much.
Jim

"Dave Peterson" wrote in message
...
Another way:

=IF(COUNT(B35:B47)0,AVERAGE(B35:B47),"")



Jim Anderson wrote:

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


--

Dave Peterson



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"