May 26, 2005 #1 shepkrm Programmer Joined Jul 29, 2004 Messages 38 Location US Hello, I am trying to create an if expression to display a zero if a previous calculation returned #error. here's what i have: allocation:iif([calc]="error#",0,[calc]) both calc and allocation are returning #error. any ideas? thanks! becky
Hello, I am trying to create an if expression to display a zero if a previous calculation returned #error. here's what i have: allocation:iif([calc]="error#",0,[calc]) both calc and allocation are returning #error. any ideas? thanks! becky
May 26, 2005 #2 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR I'd correct calc ... Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
I'd correct calc ... Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
May 26, 2005 1 #3 pbrodsky Technical User Joined Apr 6, 2001 Messages 319 Location US how about iif(iserror([calc],0,[calc]) Upvote 0 Downvote
May 26, 2005 #4 pbrodsky Technical User Joined Apr 6, 2001 Messages 319 Location US oops: iif(iserror([calc]),0,[calc]) Upvote 0 Downvote
May 26, 2005 Thread starter #5 shepkrm Programmer Joined Jul 29, 2004 Messages 38 Location US thanks, pbrodsky! sometimes the easiest answers are the hardest to figure out... Upvote 0 Downvote