I have written this formula but it isn't evaluating the entire formula. Am I missing something?
if Sum ({JCCD.EstUnits}, {JCCD.Phase})=0
then -Sum ({JCCD.ActualHours}, {JCCD.Phase})
else if (Sum ({JCCD.ActualUnits}, {JCCD.Phase}) > Sum ({JCCD.EstUnits}, {JCCD.Phase}))
then (Sum ({JCCD.EstHours}, {JCCD.Phase})-Sum ({JCCD.ActualHours}, {JCCD.Phase}))
else if (Sum ({JCCD.EstHours}, {JCCD.Phase})=0)
then -Sum ({JCCD.ActualHours}, {JCCD.Phase})
else (((Sum ({JCCD.ActualUnits}, {JCCD.Phase})/Sum ({JCCD.EstUnits}, {JCCD.Phase}))*
Sum ({JCCD.EstHours}, {JCCD.Phase})))-Sum ({JCCD.ActualHours}, {JCCD.Phase})
Thanks!
if Sum ({JCCD.EstUnits}, {JCCD.Phase})=0
then -Sum ({JCCD.ActualHours}, {JCCD.Phase})
else if (Sum ({JCCD.ActualUnits}, {JCCD.Phase}) > Sum ({JCCD.EstUnits}, {JCCD.Phase}))
then (Sum ({JCCD.EstHours}, {JCCD.Phase})-Sum ({JCCD.ActualHours}, {JCCD.Phase}))
else if (Sum ({JCCD.EstHours}, {JCCD.Phase})=0)
then -Sum ({JCCD.ActualHours}, {JCCD.Phase})
else (((Sum ({JCCD.ActualUnits}, {JCCD.Phase})/Sum ({JCCD.EstUnits}, {JCCD.Phase}))*
Sum ({JCCD.EstHours}, {JCCD.Phase})))-Sum ({JCCD.ActualHours}, {JCCD.Phase})
Thanks!