Compound IF statement in Excel

This is just beyond my expertise.  Cell i87 contains may contain any positive, negative or zero value.  I am only concerned with performing a calculation in J87 when I87 contains a positive value.  

So, when I87 is greater than 1,000,000, J87 should be (I87-1,000,000) x 7.6% + 56,000.
 when I87 is >500,000 but less then  <1,000,000, then J87 should be (I87-500,000) x 6.4% + 24,000.
when i87 > 0 but less then 500,000 then j87 should (i87 X 4.8%)
Bill GoldenExecutive Managing MemberAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Missus Miss_SellaneusCommented:
With this, the second case will be >500,000 and <= 1,000,000. You can either go with that or change the first part to I87>= 1000000. Also if I87 is 0 or less than 0, it will return 0. If you want something else in that case change that last 0 before the three right parenthesis at the end.


Experts Exchange Solution brought to you by

Your issues matter to us.

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

Start your 7-day free trial
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
similarly, you can also use percentage in your formula, like place this into cell J87:

Open in new window

byundtMechanical EngineerCommented:
When there are different percentages applied to different brackets, I like to rewrite the formula to add MAX functions times percentages rather than use a confusing set of nested IF statements. For example:

Because each percentage is applied to I87 and the bottom of the bracket, you need to restate the percentages as incremental amounts. So 4.8%, 6.4% and 7.6% would become 4.8%, 1.6% and 1.2% incrementally (6.4%- 4.8% = 1.6% and 7.6% - 6.4% = 1.2%).
Bill GoldenExecutive Managing MemberAuthor Commented:
All three work.  Missus Miss_Sellaneus is the easiest for me to understand and modify when it comes to variations.  I do want to study the MAX approach and see if I can grasp the bigger picture.

Thanks guys.
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.