=IF(AE4-SUM(O4:O11) "Less Than" X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))/Y4,0)*Y4,AE4-SUM(O4:O11)) <?xml:namespace prefix = x4,ae4-sum(o4 /><x4,ae4-sum(o4
11)+round(z4-(ae4-sum(o4
11)) p y4,0)*y4,ae4-sum(o4
11))<></x4,ae4-sum(o4
11)+round(z4-(ae4-sum(o4
11))>
This can't be like this, try:
PHP:
=IF(AE4-SUM(O4:O11)<X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))/Y4,0)*Y4,AE4-SUM(O4:O11))
<X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))[ PHP]<>
<X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p < Y4,0)*Y4,AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))>
<X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4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-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p < Y4,0)*Y4,AE4-SUM(O4:O11))>*untested*</X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))>
</X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))>