I am making calculations in a query and have this:
Overhead Total Cost: IIf([Contractor Table]![Contractor] In ("Alliance"),([Overhead]+[Overhead Markup])*[Material Quantity],0)
When I take out the paranthesis around
[Overhead]+[Overhead Markup]
it works, however the calculation isn't correct. When I keep it the way it is I get a continual error. Do I need to change the order? I have tried parantheses everywhere, but can't seem to get the calculation to work out correct
Overhead Total Cost: IIf([Contractor Table]![Contractor] In ("Alliance"),([Overhead]+[Overhead Markup])*[Material Quantity],0)
When I take out the paranthesis around
[Overhead]+[Overhead Markup]
it works, however the calculation isn't correct. When I keep it the way it is I get a continual error. Do I need to change the order? I have tried parantheses everywhere, but can't seem to get the calculation to work out correct