May 26, 2005 #1 shepkrm Programmer Jul 29, 2004 38 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 Nov 8, 2002 53,708 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 Apr 6, 2001 319 US how about iif(iserror([calc],0,[calc]) Upvote 0 Downvote
May 26, 2005 #4 pbrodsky Technical User Apr 6, 2001 319 US oops: iif(iserror([calc]),0,[calc]) Upvote 0 Downvote
May 26, 2005 Thread starter #5 shepkrm Programmer Jul 29, 2004 38 US thanks, pbrodsky! sometimes the easiest answers are the hardest to figure out... Upvote 0 Downvote