The tax man loves his little games!

Montanes

New Member
Joined
Aug 18, 2016
Messages
39
Office Version
  1. 365
Platform
  1. Windows
Hi,

I know i can get this but i have been looking for too long and i need a fresh pair of eyes...

In the UK we have different tax brackets applied to work out the total amount to be deducted from a salary and paid to the nice tax man. So, if your annual salary was £150k, you wouldn't pay any tax for the first £12,570, but then pay 19% on the portion between £12,571 and £14,732, the pay 20% on the portion between £14,733 and £25,688, 21% on the portion between £25,689 and £43,662, 42% on the portion between £43,663 and £125,140 and finally 47% on anything above £125,141.

I have set it out as attached where i can enter a salary figure in A4 and hopefully B4:G4 will work out the different tax portions with a total sum in H4. The salary figure can be anything between £20k to £150k so some calculations wont be needed if a salary figure is below the threshold and for a salary of £20k, only £5,267 will be subject to the 20% tax bracket.

If you're from the UK you will already get this, but i accept help from everywhere. Thanks in advance.
 

Attachments

  • PAYE.PNG
    PAYE.PNG
    9.8 KB · Views: 15

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
you may have taken this into account with the info above , so apologies

So, if your annual salary was £150k, you wouldn't pay any tax for the first £12,570,
isn that wrong now - I understood , that over 100K , you started to lose the allowance - at £1 lost for every £2 you earn -= so at 122K you lost the lot
or is that again different in scotland ???

Income over £100,000​

Your Personal Allowance goes down by £1 for every £2 that your adjusted net income is above £100,000. This means your allowance is zero if your income is £125,140 or above.

Also the tax rates for 23/24 - seem slightly different to the rates you quoted or is this in scotland.
 
Upvote 0
you may have taken this into account with the info above , so apologies


isn that wrong now - I understood , that over 100K , you started to lose the allowance - at £1 lost for every £2 you earn -= so at 122K you lost the lot
or is that again different in scotland ???


Also the tax rates for 23/24 - seem slightly different to the rates you quoted or is this in scotland.
You're absolutely correct, you lose the personal allowance if your salary is over £125,140. I should have pointed that out. Well done for recognising that us Scots like to complicate things in the UK. lol
 
Upvote 0
i have had a play and setout a spreadsheet as below
its also on dropbox - but only for a fewdays

I'm still working on the loss of £1 allowance for every £2 earned - though i had it but it was wrong - and have to go out now

I used this website to calculate the tax due 2023/24 for scotland and seems to give correct results

which seems to work up to 100,000

Salary Tax.xlsx
ABCDEFGHIJ
1£ -£ 12,571.00£ 14,733.00£ 25,689.00£ 43,663.00£ 125,141.00
2£ 12,570.00£ 14,732.00£ 25,688.00£ 43,662.00£ 125,140.00£ 1,000,000.00
3Enter salary below0%19%20%21%42%47%
4£ 100,000.00£ -£ 2,162.00£ 10,956.00£ 17,974.00£ 56,338.00£ -
5Over 100,000
6£ -£ -£ -£ -£ -£ -£ -
7TOTAL TAX
8TOTAL£ -£ 410.78£ 2,191.20£ 3,774.54£ 23,661.96£ -£ 30,038.48
9
10
11
12
13
14
15
16https://www.scottishbs.co.uk/intermediary-hub/intermediary-support/income-tax-calculator
17
1899000
19$29,618.48correct
20
21
2215000
23464.38correct
24
2522000
26£1,864.38 correct
27
2838000
29$5,187.50correct
30
3166000
32$15,758.48correct
33
34100000
35$30,038.48correct
Sheet1
Cell Formulas
RangeFormula
B4B4=IF(A4>100000,"",0)
C4:G4C4=IF(A4>100000,"",IF($A4>B$2,MIN((C$2-B$2),($A4-B$2)),0))
A6A6=IF(A4>100000,A4,0)
B6B6=IF($A6=0,0,MIN(B$2,(((A6-100000))*2)-B$2))
C6:G6C6=IF($A6>B$2,MIN((C$2-B$2),($A6-B$2)),0)
B8B8=IF($A4<=100000,B4*B3,B6*C3)
C8:G8C8=IF($A4<=100000,C4*C3,C6*C3)
I8I8=SUM(B8:G8)
 
Upvote 0
i may not be following this correct
As i cannot seem to find a scotland calculator that will give me the full break down for each threshold !!!!! - all seem to just use the 20%
I know i'm correct upto 100,000 with the link i used
if you earn 110,000 =
then the calculator - says
TAX £36,338.48
and based on other sited , which have confirmed

The general rule when working out a reduction in personal allowance is that if your income is greater than £100,000, your allowance will be reduced by £1 for every £2 over £100,000.
For example, if your income is £110,000, your personal allowance will be reduced by £5,000.

if thats reduced by 5000 - then the personal allowance become
12,570 - 5000
=7,570

so you would pay 19% tax on that 5000
At least that whats i thought
or maybe the tresholds all change and reduce by 5000 now - so instead of 19% upto 14,732 - its now only upto 9,732 etc etc
But that seems strange thing to do ........ as i say , i cannot find a breakdown by each threshold for scotland 23/24 year to see what happens

so in the 0-12570
you pay an extra 19% on the 5000 = 950
and you also pay 42% on the extra 10,000 = 4,200

add those together = 5,170

100,000 = £30,038.48
plus 5,170
= 35188.48
and NOT
£36,338.48

so i'm doing something wrong ......

as i say going out now
 
Last edited:
Upvote 0
worked it out , using a different website now

which also provides a breakdown at each tax amount

The loss of the threshold allowance is taxed at the 42% figure

so for the 5000 in the 110,000 example , the 5000 is NOT at the 19% - BUT at the 42%

tested with other figures and it matches -


I have added the spreadsheet to dropbox
as i say only there for a few days

How it works

you ONLY enter the salary into 1 cell - that is A5
if the salary is 100,000 or less - then the amount you would pay TAX on is shown in row 5 , for each threshold

ROW 10 - TOTAL , then calculates the tax due , and the total due is shown in I10

NOW if you enter OVER 100,000
A8 automatically populates - and then ROW 8 shows all the amounts due for each threshold - BUT The 0 - 12570 column B is taxed at 42%

ROW 8 shows the amount tax is payable on
Then ROW 10 - still shows the tax - as before - BUT B10 is at the rate of 42%
then cell F11 shows the total tax at 42% - so can be compared with any online calculator breakdown

Total is given in cell I10

XL2BB for an example below 100,000

Salary Tax- Scotland - ETAF2.xlsx
ABCDEFGHI
12023/24 tax year£ -£ 12,571.00£ 14,733.00£ 25,689.00£ 43,663.00£ 125,141.00
2Thresholds£ 12,570.00£ 14,732.00£ 25,688.00£ 43,662.00£ 125,140.00£ 1,000,000.00
3Tax %0%19%20%21%42%47%
4Enter salary below
5£ 50,000.00£ -£ 2,162.00£ 10,956.00£ 17,974.00£ 6,338.00£ -
6
7Calc if Salary is over 100,00042% <--- loss of the allowance over 100,000 is taxed at the 42% rate
8£ -£ -£ -£ -£ -£ -£ -
9TOTAL TAX
10TAX Due by threshold£ -£ 410.78£ 2,191.20£ 3,774.54£ 2,661.96£ -£ 9,038.48
11Total at the 42% rateloss of the allowance over 100,000 is taxed at the 42% rate --->£ 2,661.96
Sheet1
Cell Formulas
RangeFormula
B5B5=IF(A5>100000,"",0)
C5:G5C5=IF(A5>100000,"",IF($A5>B$2,MIN((C$2-B$2),($A5-B$2)),0))
A8A8=IF(A5>100000,A5,0)
B8B8=IF($A8=0,0,MIN(B$2,(A8-100000)/2))
C8:G8C8=IF($A8>B$2,MIN((C$2-B$2),($A8-B$2)),0)
B10B10=IF($A5<=100000,B5*B3,B8*B7)
C10:G10C10=IF($A5<=100000,C5*C3,C8*C3)
I10I10=SUM(B10:G10)
F11F11=B10+F10
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A5Expression=A5<=100000textYES
A8Expression=A8>0textYES


an example above 100,000 = 128,000


Salary Tax- Scotland - ETAF2.xlsx
ABCDEFGHI
12023/24 tax year£ -£ 12,571.00£ 14,733.00£ 25,689.00£ 43,663.00£ 125,141.00
2Thresholds£ 12,570.00£ 14,732.00£ 25,688.00£ 43,662.00£ 125,140.00£ 1,000,000.00
3Tax %0%19%20%21%42%47%
4Enter salary below
5£ 128,000.00
6
7Calc if Salary is over 100,00042% <--- loss of the allowance over 100,000 is taxed at the 42% rate
8£ 128,000.00£ 12,570.00£ 2,162.00£ 10,956.00£ 17,974.00£ 81,478.00£ 2,860.00
9TOTAL TAX
10TAX Due by threshold£ 5,279.40£ 410.78£ 2,191.20£ 3,774.54£ 34,220.76£ 1,344.20£ 47,220.88
11Total at the 42% rateloss of the allowance over 100,000 is taxed at the 42% rate --->£ 39,500.16
Sheet1
Cell Formulas
RangeFormula
B5B5=IF(A5>100000,"",0)
C5:G5C5=IF(A5>100000,"",IF($A5>B$2,MIN((C$2-B$2),($A5-B$2)),0))
A8A8=IF(A5>100000,A5,0)
B8B8=IF($A8=0,0,MIN(B$2,(A8-100000)/2))
C8:G8C8=IF($A8>B$2,MIN((C$2-B$2),($A8-B$2)),0)
B10B10=IF($A5<=100000,B5*B3,B8*B7)
C10:G10C10=IF($A5<=100000,C5*C3,C8*C3)
I10I10=SUM(B10:G10)
F11F11=B10+F10
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A5Expression=A5<=100000textYES
A8Expression=A8>0textYES
 
Upvote 0
Solution
The payable can be calculated with Sum or Sumproduct.
The tax credit can be included in the formula.
We can do the above with a Lambda function.

I do not have information on your tax system.
Tiered taxes can be calculated as follows.
You can edit the brackets and rates in the table or in the Lambda function.
Please advise if you want the Lambda; it doesn't show automatically with the post.
If you use Sum or SumProduct, you can name the bracket and rate differential information.

LAMBDA.xlsm
ABC
1IncomeTax PayableTax Payable
2140,000.0028,117.6128,117.61
3
4
5BracketsPercentage
6
7015.0%
850,19720.5%
9100,39226.0%
10155,62529.0%
11221,70833.0%
4f
Cell Formulas
RangeFormula
B2B2=F_Tax22(A2)
C2C2=SUM((A2>A7:A11)*(A2-A7:A11)*(B7:B11-B6:B10))
 
Upvote 0
I am going to try some of these now but here is a link to the thresholds on government website Income Tax in Scotland
If i get something to work i will mark accordingly.
Thanks to everyone for your help
 
Upvote 0
Please advise how the loss of threshold is calculated; the calculations below set a ceiling for the extra tax.
Please review the brackets, rates, and calculation of total tax.
The first example does not require the tables.
LAMBDA_2.xlsm
AB
1IncomeTax Payable
2128,000.0047,821.48
3190,000.0083,651.48
4f
Cell Formulas
RangeFormula
B2:B3B2=TaxU_23(A2)


LAMBDA_2.xlsm
ABC
1IncomeTax PayableTax Payable
2128,000.0047,821.4847,821.48
3190,000.0083,651.4883,651.48
4
5
6BracketPercentage
7
800.00%
912,570.0019.00%
1014,732.0020.00%
1125,688.0021.00%
1243,662.0042.00%
13125,140.0047.00%
4f
Cell Formulas
RangeFormula
B2:B3B2=TaxU_23(A2)
C2:C3C2=SUM((A2>$A$8:$A$13)*(A2-$A$8:$A$13)*($B$8:$B$13-$B$7:$B$12))+(A2>10^5)*MIN(12570,(A2-10^5)/2*0.42)
 
Upvote 0
I edited the formula re the tax on the 12570.
No information on how the amount is calculated.
You can check the formula with a range of Taxable Incomes.

LAMBDA_2.xlsm
ABC
1IncomeTax PayableTax Payable
2128,000.0047,220.8847,220.88
3125,140.0045,876.6845,876.68
4200,000.0081,060.8881,060.88
5
4f
Cell Formulas
RangeFormula
B2:B4B2=TaxU_23(A2)
C2:C4C2=SUM((A2>$A$8:$A$13)*(A2-$A$8:$A$13)*($B$8:$B$13-$B$7:$B$12))+(A2>10^5)*MIN(5279.4,(A2-10^5)/2*0.42)
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,970
Members
449,095
Latest member
Mr Hughes

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