Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a column with long formulas such as below. Is there a way to avoid
the div/o error when dividing by zero? =((H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3 )/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3)) Thanks Donna |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
=if(iserror(H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF 3+BK3)/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3)),"",( H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3)/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3) -- Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com "Donna" wrote in message ... I have a column with long formulas such as below. Is there a way to avoid the div/o error when dividing by zero? =((H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3 )/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3)) Thanks Donna |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
No elegant way to reduce this...
=IF(COUNT(F3,K3,P3,U3,Z3,AE3,AJ3,AO3,AT3,AY3,BD3,B I3),(H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3)/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3),"") -- Biff Microsoft Excel MVP "Donna" wrote in message ... I have a column with long formulas such as below. Is there a way to avoid the div/o error when dividing by zero? =((H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3 )/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3)) Thanks Donna |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Of course the COUNT could be non-zero, but the SUM zero, in which case you'd
still get a divide by zero error. -- David Biddulph T. Valko wrote: No elegant way to reduce this... =IF(COUNT(F3,K3,P3,U3,Z3,AE3,AJ3,AO3,AT3,AY3,BD3,B I3),(H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3)/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3),"") "Donna" wrote in message ... I have a column with long formulas such as below. Is there a way to avoid the div/o error when dividing by zero? =((H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3 )/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3)) Thanks Donna |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Yeah, I realized that right after I hit send!
-- Biff Microsoft Excel MVP "David Biddulph" <groups [at] biddulph.org.uk wrote in message ... Of course the COUNT could be non-zero, but the SUM zero, in which case you'd still get a divide by zero error. -- David Biddulph T. Valko wrote: No elegant way to reduce this... =IF(COUNT(F3,K3,P3,U3,Z3,AE3,AJ3,AO3,AT3,AY3,BD3,B I3),(H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3)/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3),"") "Donna" wrote in message ... I have a column with long formulas such as below. Is there a way to avoid the div/o error when dividing by zero? =((H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3 )/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3)) Thanks Donna |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Yes, that send button is always very good at refreshing the memory, isn't
it? :-) -- David Biddulph T. Valko wrote: Yeah, I realized that right after I hit send! "David Biddulph" <groups [at] biddulph.org.uk wrote in message ... Of course the COUNT could be non-zero, but the SUM zero, in which case you'd still get a divide by zero error. -- David Biddulph T. Valko wrote: No elegant way to reduce this... =IF(COUNT(F3,K3,P3,U3,Z3,AE3,AJ3,AO3,AT3,AY3,BD3,B I3),(H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3)/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3),"") "Donna" wrote in message ... I have a column with long formulas such as below. Is there a way to avoid the div/o error when dividing by zero? =((H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3 )/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3)) Thanks Donna |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On 1/15/2010 7:47 PM, Donna wrote:
I have a column with long formulas such as below. Is there a way to avoid the div/o error when dividing by zero? =((H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3 )/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3)) Thanks Donna Hi. The newer function IfError() might be the shortest... =IFERROR((H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+ BK3) / (F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3),"x") = = = = = = = HTH :) Dana DeLouis |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3=0," ",(H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3
)/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3)) -- David Biddulph Donna wrote: I have a column with long formulas such as below. Is there a way to avoid the div/o error when dividing by zero? =((H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3+BA3+BF3+BK3 )/(F3+K3+P3+U3+Z3+AE3+AJ3+AO3+AT3+AY3+BD3+BI3)) Thanks Donna |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|