Link to home
Start Free TrialLog in
Avatar of evend
evend

asked on

Crystal Error Trap

If have the formula below and get division by zero errors?  Help please.


if (({Vend_Visit_Items.ending_inv_calc}/WeightedAverage ({Vend_Visit_Items.estimated_ads}, {Vend_Visit_Items.estimated_ads}, {Vend_Visit_Items.description}))) = 0 then
    0
else

(({Vend_Visit_Items.ending_inv_calc}/WeightedAverage ({Vend_Visit_Items.estimated_ads}, {Vend_Visit_Items.estimated_ads}, {Vend_Visit_Items.description})))/7
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of evend
evend

ASKER

Tx you, This did clear the error issue.  One related thing?  When the (WeightedAverage ({Vend_Visit_Items.estimated_ads}, {Vend_Visit_Items.estimated_ads}, {Vend_Visit_Items.description}) is very low or even shows up as zero it seems to somehow end with a result that is extremly large?  I can not figure it out?
Remember dividing by 0.01 is the same as multiplying by 100

Dividing by 0.00001 is the same as multiplying by 10000

mlmcc