The best thing is to avoid the error in the first place with a something like an if statement....if denominator =0, then 0 or blank...