#1   Report Post  
tillyosu
 
Posts: n/a
Default Ignoring #DIV/0!


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


--
tillyosu
------------------------------------------------------------------------
tillyosu's Profile: http://www.excelforum.com/member.php...o&userid=25114
View this thread: http://www.excelforum.com/showthread...hreadid=388049

  #2   Report Post  
Mike
 
Posts: n/a
Default

An if statement that does the averaging calc only when it is not zero.

"tillyosu" wrote:


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


--
tillyosu
------------------------------------------------------------------------
tillyosu's Profile: http://www.excelforum.com/member.php...o&userid=25114
View this thread: http://www.excelforum.com/showthread...hreadid=388049


  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Something like

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

--

HTH

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


"tillyosu" wrote in
message ...

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


--
tillyosu
------------------------------------------------------------------------
tillyosu's Profile:

http://www.excelforum.com/member.php...o&userid=25114
View this thread: http://www.excelforum.com/showthread...hreadid=388049



  #4   Report Post  
Harlan Grove
 
Posts: n/a
Default

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),"")

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to sum cells and ignore the #div/0! 's ? Todd Excel Worksheet Functions 6 April 25th 10 12:31 AM
How do i make a sum formula ignore #div/0! errors in the range shat Excel Worksheet Functions 6 April 22nd 06 02:47 PM
replace "#DIV/0!" error with blanks Mark B Excel Worksheet Functions 0 June 22nd 05 10:19 AM
# DIV/0! error in Excel Helpwanted Excel Discussion (Misc queries) 8 May 6th 05 09:31 PM
Ignoring #DIV/0! in a formula DLZ217 Excel Discussion (Misc queries) 2 April 26th 05 10:01 AM


All times are GMT +1. The time now is 07:04 AM.

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"