Hello,
I have the following Sum IIf
the first part calculates .... and is fine
the second part does nothing ..
The Idea is that if there is no standard time specified then the formula should take [SumOfTime]/60*100 ..which it does .. then if there is a standard time specified then the formula should take [StandardTime]*[SumOfOrders]/60*100 ..but it doesn't ...
I have been trying to resolve this but cannot
...
Any help is appreciated ...thank you in advance
I have the following Sum IIf
Code:
test: Sum(IIf(Nz([StandardTime]=0),[SumOfTime]/60*100)+([StandardTime]*[SumOfOrders]/60*100))
the first part calculates .... and is fine
Code:
Sum(IIf(Nz([StandardTime]=0),[SumOfTime]/60*100)
the second part does nothing ..
Code:
)+([StandardTime]*[SumOfOrders]/60*100))
The Idea is that if there is no standard time specified then the formula should take [SumOfTime]/60*100 ..which it does .. then if there is a standard time specified then the formula should take [StandardTime]*[SumOfOrders]/60*100 ..but it doesn't ...
I have been trying to resolve this but cannot
Any help is appreciated ...thank you in advance