Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 363
Default Remove the #DIV/0!

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!" ?

Corey....


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 299
Default Remove the #DIV/0!

Remove the cause, in those cells with the errors change the formula

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

replace with your data accordingly


--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)


"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!" ?

Corey....




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 363
Default Remove the #DIV/0!

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

Corey....
"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


--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)


"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!" ?

Corey....





  #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!" ?



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
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 04:11 PM.

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"