# Tax Projection Formula in Excel

I have the following tax rate:                 4.8% from 0-\$500,000
Over \$500,000                     \$24,000  + 6.4% of excess over \$500,000
Over \$1,000,000                  \$56.000 + 7.3% of excess over \$1,000,000

For Example, Cell A3 contains the number 100,000

and I have the following formula in C53.

=IF(A3<0,0,IF(A3>0<500000,(A3*0.048),IF(A3>500000<1000000,(A3*0.064+24000),IF(A3>1000000,(A3*0.073)+56000))))

When A3 is over \$1,000,000 I get a number (which is wrong) and anything less I get FALSE. Yep, I am LOST!
TaxRateSnippet.xls
LVL 1
###### Who is Participating?

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Finance AnalystCommented:
You need to include AND function:

=IF(A3<0,0,IF(AND(A3>0,A3<=500000),(A3*0.048),IF(AND(A3>500000,A3<=1000000),(A3*0.064+24000),IF(A3>1000000,(A3*0.073)+56000))))

Thanks
Rob H

EDIT need to allow for exact amounts as well with "<="
Finance AnalystCommented:
Edit to allow for excess over thresholds:

=IF(A3<0,0,IF(AND(A3>0,A3<=500000),(A3*0.048),IF(AND(A3>500000,A3<=1000000),((A3-500000)*0.064+24000),IF(A3>1000000,((A3-1000000)*0.073)+56000))))
Finance AnalystCommented:
Shorter version with same result:

=IF(A5<0,0,A5*0.048+MAX(0,A5-500000)*(0.064-0.048)+MAX(0,A5-1000000)*(0.073-0.064))

EDIT: To make clearer with additional brackets:

=IF(A5<0,0,(A5*0.048)+(MAX(0,A5-500000)*(0.064-0.048))+(MAX(0,A5-1000000)*(0.073-0.064)))

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Excel & VBA ExpertCommented:
Simple to understand....

``````=IF(A5<=0,0,IF(A5<500000,(A5*0.048),IF(A5<1000000,(A5*0.064)+24000,(A5*0.073)+56000)))
``````
Executive Managing MemberAuthor Commented:
Thanks!  Works like a charm...
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.