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

=IF(ISERROR(IF(SUM($K57:Y57)=$J57,0,IF(Z$1=$I57, ($J57-
SUM($K57:Y57))*HLOOKUP($H57+Z$1-$I57,INP2006,$G57,FALSE)/
SUM(INDIRECT(CONCATENATE("'",$F57,"'","!",HLOOKUP( $H57+Z$1-
$I57,INP2006,2,FALSE),$G57)):INDIRECT(CONCATENATE( "'",
$F57,"'","!",HLOOKUP(HLOOKUP(10000,INP2006,1,TRUE) ,INP2006,2,FALSE),
$G57))),"")),"",=IF(SUM($K57:Y57)=$J57,0,IF(Z$1= $I57,($J57-
SUM($K57:Y57))*HLOOKUP($H57+Z$1-$I57,INP2006,$G57,FALSE)/
SUM(INDIRECT(CONCATENATE("'",$F57,"'","!",HLOOKUP( $H57+Z$1-
$I57,INP2006,2,FALSE),$G57)):INDIRECT(CONCATENATE( "'",
$F57,"'","!",HLOOKUP(HLOOKUP(10000,INP2006,1,TRUE) ,INP2006,2,FALSE),
$G57))),"")))

--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"hwhitford" wrote:

I am getting error DIV/0. I know I need to use the ISERROR function,
however I'm not sure where to insert it. The formula I am using is
below. I know I will have cell divided by Zero and want to keep it
that way. But I don't want the DIV/0 to appear and I don't want to
white it out either.

=IF(SUM($K57:Y57)=$J57,0,IF(Z$1=$I57,($J57-
SUM($K57:Y57))*HLOOKUP($H57+Z$1-$I57,INP2006,$G57,FALSE)/
SUM(INDIRECT(CONCATENATE("'",$F57,"'","!",HLOOKUP( $H57+Z$1-
$I57,INP2006,2,FALSE),$G57)):INDIRECT(CONCATENATE( "'",
$F57,"'","!",HLOOKUP(HLOOKUP(10000,INP2006,1,TRUE) ,INP2006,2,FALSE),
$G57))),""))


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



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