#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default #DIV/0 error

Trying to average cells which contain formulas with a #DIV/0 error. What can
I do to get the cells with values to average. Here are the formulas.

cell DY7 =AVERAGE(IF(H7:DX7<0, H7:DX7,""))
cell DZ =2
cell EA7=SUM(DY11/DZ11)

when i average EA7:EA22 it is #DIV/0. I have the sheet set up for different
areas with different numbers in each section. I have extra rows in case I
need them and these are the #DIV/0 because there are no values in them.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default #DIV/0 error

Change your formula in EA7 to this;

=IF(DZ11=0,"",DY11/DZ11)

and copy down to EA22.

Does this solve your problem?

Pete

egarcia wrote:
Trying to average cells which contain formulas with a #DIV/0 error. What can
I do to get the cells with values to average. Here are the formulas.

cell DY7 =AVERAGE(IF(H7:DX7<0, H7:DX7,""))
cell DZ =2
cell EA7=SUM(DY11/DZ11)

when i average EA7:EA22 it is #DIV/0. I have the sheet set up for different
areas with different numbers in each section. I have extra rows in case I
need them and these are the #DIV/0 because there are no values in them.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default #DIV/0 error

You should suppress errors: =IF(ISERROR([your formula]),"",[your formula])

Dave
--
Brevity is the soul of wit.


"egarcia" wrote:

Trying to average cells which contain formulas with a #DIV/0 error. What can
I do to get the cells with values to average. Here are the formulas.

cell DY7 =AVERAGE(IF(H7:DX7<0, H7:DX7,""))
cell DZ =2
cell EA7=SUM(DY11/DZ11)

when i average EA7:EA22 it is #DIV/0. I have the sheet set up for different
areas with different numbers in each section. I have extra rows in case I
need them and these are the #DIV/0 because there are no values in them.

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
Need help with dividing and using ISERROR for Div/0! durerca Excel Worksheet Functions 3 July 13th 06 04:30 PM
Hide #div/0 Error When Averaging navychef Excel Worksheet Functions 5 December 17th 05 06:44 AM
Can I prevent a #DIV/0! error from plotting on a chart CTarantino Charts and Charting in Excel 3 August 26th 05 08:35 AM
Avoiding the dreaded #div/0 error Marie1uk Excel Worksheet Functions 10 July 21st 05 10:49 PM
ERROR Pinto1uk Excel Discussion (Misc queries) 1 February 8th 05 03:15 AM


All times are GMT +1. The time now is 11:56 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"