LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Remove the #DIV/0!

May be better to have
=IF(COUNT(D4:D13,H4:H13,L4:L13)<0,AVERAGE(D4:D13, H4:H13,L4:L13),"")
then you can cope with the case where the total, and therefore the average,
is zero.
--
David Biddulph

"Corey" wrote in message
...
Thanx.
Ended up with:
=IF(SUM(D4:D13,H4:H13,L4:L13)<0,AVERAGE(D4:D13,H4 :H13,L4:L13),"")


"Peo Sjoblom" wrote in message
...
Remove the cause, in those cells with the errors change the formula

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

replace with your data accordingly


"Corey" wrote in message
...
I am using the formula:

=AVERAGE(D4:D13,H4:H13,L4:L13) in Cell D15.

But when there is NO data in those cells, how can i set the formual above
to display NOTHING rather
than "#DIV/0!" ?



 
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
remove a name George A. Yorks Excel Discussion (Misc queries) 3 March 16th 07 02:55 AM
Remove ÿ Otto Moehrbach Excel Discussion (Misc queries) 2 August 28th 06 03:31 AM
how to remove #DIV/0! kuansheng Excel Worksheet Functions 7 May 9th 06 03:54 AM
Remove AM PM gennario Excel Discussion (Misc queries) 5 September 30th 05 08:13 PM
REMOVE #N/A Peter Excel Worksheet Functions 1 March 10th 05 03:06 AM


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

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

About Us

"It's about Microsoft Excel"