-
-
Save danielcompton/6724333 to your computer and use it in GitHub Desktop.
=IF(B2<=14000,SUM(B2*10.5%),IF(B2<=48000,SUM(B2-14000)*17.5%+1470,IF(B2<=70000,SUM(B2-48000)*30%+7420,IF(B2>=70001,SUM(B2-70000)*33%+14020)))) |
Actually nevermind, I realised I was missing out adding previous taxed amounts!
For anyone who is interested, here is the working formula:
=IF(B29<=L30,SUM(B29*M30%),IF(B29<=L31,SUM(B29-L30)*M31%+N30,IF(B29<=L32,SUM(B29-L31)*M32%+N30+N31,IF(B29<=L33,SUM(B29-L32)*M33%+N30+N31+N32,IF(B29>=K34,SUM(B29-L33)*M34%+N30+N31+N32+N33)))))
Thank you, CMac89 :)
Thanks for sharing this, and for the updates in the comments.
Here's another way of going about calculating annual income tax on a known income amount (A1) ...
=SUMPRODUCT(--(A1>={1;14000;48000;70000;180000}),(A1-{0;14001;48001;70001;180001}),{0.105;0.07;0.125;0.03;0.06})
In this case, A1
is the income total.
Thank you <3 This is even better.
I love this formula. But what this does not have future proofing from my point of view like the previous suggestions which include tax percentages in a table. I guess my comment comes from me not understanding the sumproduct formula and what would I change if the tax percentages changed - currently I do not have a clue.
Looking at
=SUMPRODUCT(--(F35>={1;14000;48000;70000;180000}),(F35-{0;14001;48001;70001;180001}),{0.105;0.07;0.125;0.03;0.06})
I suspect it is the third array which covers the tax percentages, but I cannot see how these are calculated. Any ideas?
I love this formula. But what this does not have future proofing from my point of view like the previous suggestions which include tax percentages in a table. I guess my comment comes from me not understanding the sumproduct formula and what would I change if the tax percentages changed - currently I do not have a clue.
Looking at =SUMPRODUCT(--(F35>={1;14000;48000;70000;180000}),(F35-{0;14001;48001;70001;180001}),{0.105;0.07;0.125;0.03;0.06})
I suspect it is the third array which covers the tax percentages, but I cannot see how these are calculated. Any ideas?
The third array contains the tax rates for the first income bracket and the incremental tax rates for each subsequent bracket.
The first tax rate in the third array is the tax rate for the first income bracket, which is 10.5%.
The second tax rate is the incremental tax rate for the second bracket, which is 7% (i.e., the difference between the tax rate for the second income bracket, which is 17.5%, and the tax rate for the first bracket, which is 10.5%).
The third tax rate is the incremental tax rate for the third bracket, which is 12.5% (i.e., the difference between the tax rate for the third income bracket, which is 30%, and the tax rate for the second bracket, which is 17.5%).
The fourth tax rate is the incremental tax rate for the fourth bracket, which is 3% (i.e., the difference between the tax rate for the fourth income bracket, which is 33%, and the tax rate for the third bracket, which is 30%).
The fifth tax rate is the incremental tax rate for the fifth income bracket, which is 6% (i.e., the difference between the tax rate for the fifth bracket, which is 39%, and the tax rate for the fourth bracket, which is 33%).
Knowing this, you should be able to adjust them accordingly, should the need arise.
Awesome! You are awesome. And I feel stupid - LOL - for not seeing the pattern. Thank you and have a great day.
A modified version of @inspiredearth's formula:
This includes ACC levy of 1.53% and 3% Kiwisaver.
=(($A1-SUMPRODUCT(--($A1>={1;14000;48000;70000;180000}),($A1-{0;14001;48001;70001;180001}),{0.105;0.07;0.125;0.03;0.06}))-($A1*(0.0153+0.03))
Hi all,
Just created a Google Sheet to help calculate the tax, also the ability to include deductions for Kiwisaver and ACC levy. You can add your custom values to the boxes in green.
https://docs.google.com/spreadsheets/d/1hPtxMEZgM4t4Z2_cyE-G05yDzwvaSKH_f3U48-s9B0o/edit?usp=sharing
Hi guys, thanks for this.
I found that the correct formula to calculate the edge case of exactly $14,000 etc needs to be as follows;
=SUMPRODUCT(--(A1>={0;14000;48000;70000;180000}),(A1-{0;14000;48000;70000;180000}),{0.105;0.07;0.125;0.03;0.06})
I'm still having trouble with this, hopefully someone can help...
I'm trying to work the formula so it reads the cell values instead of manually typing values. Also I have added the 180K @ 39% bracket.
Here is my formula:
=IF(B29<=L30,SUM(B29*M30%),IF(B29<=L31,SUM(B29-L30)*M31%+N30,IF(B29<=L32,SUM(B29-L31)*M32%+N31,IF(B29<=L33,SUM(B29-L32)*M33%+N32,IF(B29>=K34,SUM(B29-L33)*M34%+N33)))))
Can anybody spot what I'm missing??
Thank you!