Converting #error to 0

Sed

Registered User.
Local time
Today, 15:03
Joined
Oct 16, 2008
Messages
111
Anybody knows how to convert an # error formula to return "0"

Here's my formula: CWT: ([LineHaul]/[Cost/Lbs])/100

#error because it's dividing by 0, but I can't convert it to return zero

please help
 
CWT: IIf([Cost/Lbs]=0,0,([LineHaul]/[Cost/Lbs])/100)
 
You are the MAN!!!! thank you Boblarson!!!
 

Users who are viewing this thread

Back
Top Bottom