Next K4,500.01 but not exceeding 4,800.00 300.00 25% 75.00
Next K4,800.01 but not exceeding 6,900.00 2,100.00 30% 630.00
K6,900.00 and Above 4,877.00 37.50% 1,828.78
Given that Gross Pay is $11,777.00 Use those tax bands to calculate how much tax can be deducted from $11,777.00 Thank you Sir
Adam Schwanz
@Reply 4 years ago
Just use if/then statements. Should be pretty easy since the numbers are always going to be the same if they reach the next tax bracket.
Dim TaxDeducted,Income
TaxDeducted=0
Income= 'enter calculation here to calculate the total income however you want, I'd probably just use DSum
If Income>=6900 Then
TaxDeducted=((Income-6900)*.375)+630+75
ElseIf Income>=4800.01 and Income<6900 Then
TaxDeducted=((Income-4800.01)*.3)+75
ElseIf Income>=4500.01 and Income<=4800 Then
TaxDeducted=((Income-4500.01)*.25)
End If
Adam Schwanz
@Reply 4 years ago
Might also need to use some rounding or formatting to get a 2 digit decimal point.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Visitor Forum.