Hello,
Crystal 9 - SQL
I've got a set of formulas:
Extended Price: {co_ship.qty_shipped}*{coitem.price}
Var Cost: {item.cur_matl_cost}+{item.cur_vovhd_cost}
Total Var Cost: {co_ship.qty_shipped}*{@Variable Cost}
Contribution Margin{@Extended Price}-{@Total Var Cost}
Percentage: {@Contribution Margin}/{@Extended Price}*100
I'm getting an error on the Percentage formula if the data for item.cur_matl_cost or coitem.price is zero. Is there a formula I can add to eliminate the error?
Thanks-
Laurie
Crystal 9 - SQL
I've got a set of formulas:
Extended Price: {co_ship.qty_shipped}*{coitem.price}
Var Cost: {item.cur_matl_cost}+{item.cur_vovhd_cost}
Total Var Cost: {co_ship.qty_shipped}*{@Variable Cost}
Contribution Margin{@Extended Price}-{@Total Var Cost}
Percentage: {@Contribution Margin}/{@Extended Price}*100
I'm getting an error on the Percentage formula if the data for item.cur_matl_cost or coitem.price is zero. Is there a formula I can add to eliminate the error?
Thanks-
Laurie