Tax Calculator

JonConc

New Member
Joined
Dec 15, 2020
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi, I'm trying to create a tax calculator in Excel. The calculator would calculate tax based on a 'purchase price' and the %'age rate on each band. Any assistance would be gratefully appreciated. Below is an image of the draft I have created.
Calculator.jpg
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Welcome to the board, please see the post below...

 
Upvote 0
Alternative 1 names the Brackets and Rate Differences
Name Manager
aB ={180000;250000;400000;750000;1500000}
aR ={0.035;0.015;0.025;0.025;0.02}

Alternative 2 references ranges from the table
N.B. I have no knowledge of your tax system. Please review and test carefully.
Use the alternative that you prefer.

T202009c.xlsm
ABCDEFGH
1Taxable amount1,500,000.00Bracket RateTax calculation
2Tax Alternative 1111,200.0000
3Tax Alternative 2111,200.00180,0003.5%0.00
4250,0005.0%2,450.00
5400,0007.5%7,500.00
6750,00010.0%26,250.00
71,500,00012.0%75,000.00
81E+120.00
9111,200.00
10
2cc
Cell Formulas
RangeFormula
C2C2=SUMPRODUCT(--(C1>aB),C1-aB,aR)
C3C3=SUMPRODUCT(--(C1>F3:F7),C1-F3:F7,G3:G7-G2:G6)
F8F8=10^12
H3:H8H3=MAX(0,(MIN($C$1,F3)-F2)*G2)
H9H9=SUM(H3:H8)
 
Upvote 0
Alternative 1 names the Brackets and Rate Differences
Name Manager
aB ={180000;250000;400000;750000;1500000}
aR ={0.035;0.015;0.025;0.025;0.02}

Alternative 2 references ranges from the table
N.B. I have no knowledge of your tax system. Please review and test carefully.
Use the alternative that you prefer.

T202009c.xlsm
ABCDEFGH
1Taxable amount1,500,000.00Bracket RateTax calculation
2Tax Alternative 1111,200.0000
3Tax Alternative 2111,200.00180,0003.5%0.00
4250,0005.0%2,450.00
5400,0007.5%7,500.00
6750,00010.0%26,250.00
71,500,00012.0%75,000.00
81E+120.00
9111,200.00
10
2cc
Cell Formulas
RangeFormula
C2C2=SUMPRODUCT(--(C1>aB),C1-aB,aR)
C3C3=SUMPRODUCT(--(C1>F3:F7),C1-F3:F7,G3:G7-G2:G6)
F8F8=10^12
H3:H8H3=MAX(0,(MIN($C$1,F3)-F2)*G2)
H9H9=SUM(H3:H8)
Many thanks for your reply and examples, much appreciated. Just wondering if you could explain why no tax is calculated in the 180,000 bracket (H3)?
 
Upvote 0
Many thanks for your reply and examples, much appreciated. Just wondering if you could explain why no tax is calculated in the 180,000 bracket (H3)?
Please ignore, managed to figure it out. Thanks
 
Upvote 0
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Tax Calculator (Based on Bands)
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
The relevant ranges are named in Alternative 1. Brackets are named "aB" and Rates are named "aR_1" and "aR_2".
In Name Manager name the Brackets aB ={0;180000;250000;400000;750000;1500000}
Highlight F3:F8 in C4 and press F9; you will see the array shown above.
In Name Manager, name the Rate Differentials aR_1 and aR_2.
aR_1 ={0;0.035;0.015;0.025;0.025;0.02}
Highlight G3:G8-G2:G7 in C4 and press F9; you will see the array shown above.
aR_2 ={0.03;0.035;0.015;0.025;0.025;0.02}
The Rate Differentials are not the gross rates per Table; they are like G3:G8-G2:G7 for example see C4.
You could calculate the rate differential in another column; see Column L.
The formula is then =SUMPRODUCT(--(C1>F3:F8),C1-F3:F8,L3:L8)
With the information provided, the brackets are the same for both sets of rates.
F2:K2 is intentionally blank; see the calculation J3:J8-J2:J7 in cell D4. Text in J2 would invalidate the calculation.

T202009c.xlsm
BCDEFGHIJKL
1Taxable amount1,500,000.00Bracket [aB]Rate =aR_1TaxRate [aR_2]Tax
2Standard Rate [1]Higher Rate [2]
3Tax Alternative 1111,200.00156,200.00000.003.0%0.003.0%
4Tax Alternative 2111,200.00156,200.00180,0003.5%0.006.5%5,400.003.5%
5250,0005.0%2,450.008.0%4,550.001.5%
6Tax Alternative 2156,200.00400,0007.5%7,500.0010.5%12,000.002.5%
7750,00010.0%26,250.0013.0%36,750.002.5%
81,500,00012.0%75,000.0015.0%97,500.002.0%
91E+120.000.00
10111,200.00156,200.00
2cc
Cell Formulas
RangeFormula
C3C3=SUMPRODUCT(--(C1>aB),C1-aB,aR_1)
D3D3=SUMPRODUCT(--(C1>aB),C1-aB,aR_2)
C4C4=SUMPRODUCT(--(C1>F3:F8),C1-F3:F8,G3:G8-G2:G7)
D4D4=SUMPRODUCT(--(C1>F3:F8),C1-F3:F8,J3:J8-J2:J7)
D6D6=SUMPRODUCT(--(C1>F3:F8),C1-F3:F8,L3:L8)
L3:L8L3=J3-N(J2)
F9F9=10^12
H3:H8H3=MAX(0,(MIN($C$1,F3)-F2)*G2)
H9,K3:K9H9=MAX(0,(MIN($C$1,$F9)-$F8)*G8)
H10,K10H10=SUM(H4:H9)
 
Last edited:
Upvote 0
T202009c.xlsm
BCDEFGH
1Taxable amount1,500,000.00Bracket [aB]Rate =aR_1Rate [aR_2]
2Standard Rate [1]Higher Rate [2]
3Tax Alternative 1111,200.00156,200.00003.0%
4Tax Alternative 2111,200.00156,200.00180,0003.5%6.5%
5250,0005.0%8.0%
6400,0007.5%10.5%
7750,00010.0%13.0%
81,500,00012.0%15.0%
2cc
Cell Formulas
RangeFormula
C3C3=SUMPRODUCT(--(C1>aB),C1-aB,aR_1)
D3D3=SUMPRODUCT(--(C1>aB),C1-aB,aR_2)
C4C4=SUMPRODUCT(--(C1>F3:F8),C1-F3:F8,G3:G8-G2:G7)
D4D4=SUMPRODUCT(--(C1>F3:F8),C1-F3:F8,H3:H8-H2:H7)
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top