Christin97
Technical User
I am trying to figure out how to write a query that calculates taxable sales
Example: Taxable Sales
$0.00 - $62,501.00 * .0343
$62,501.00 - $208,001.00 * .0257
$208,001.00 - $300,000.00 * .0255
that is the table... I have tried building a query with the formula
=IIf([state tax]<62,501.00,[state tax]*.0343,IIf([state tax]<208,001.00,[state tax]*.0257,IIf([state tax]<300,000.00,[state tax]*.0.255)))
this works for the first calculation but it does not follow through to the second or third IIF..
Please help!
Thanks,
Christina
Example: Taxable Sales
$0.00 - $62,501.00 * .0343
$62,501.00 - $208,001.00 * .0257
$208,001.00 - $300,000.00 * .0255
that is the table... I have tried building a query with the formula
=IIf([state tax]<62,501.00,[state tax]*.0343,IIf([state tax]<208,001.00,[state tax]*.0257,IIf([state tax]<300,000.00,[state tax]*.0.255)))
this works for the first calculation but it does not follow through to the second or third IIF..
Please help!
Thanks,
Christina