Tax Calculator

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
In A7, write a formula similar to this:

="On every dinar of the first " & IF($B$3="Dependents", 16000, 8000) & " Dinars = (0%)"
 
Upvote 0
In A7, write a formula similar to this:

="On every dinar of the first " & IF($B$3="Dependents", 16000, 8000) & " Dinars = (0%)"

Thank you and sorry if my request misunderstood.

I need to calculate tax amount in cells from B7 to B12, if the marital status is Single then the first 8,000 will be exempted and if Dependents then the first 16,000 will be exempted.

Thanks again.
 
Upvote 0
I mean if the annual income is 40,000 and marital status is Single, tax will be:
B7 = 0
B8= 250
B9 = 500
B10 = 750
B11 = 1,100
B12 = 3,000

and if the annual income is 40,000 and marital status is Dependents, tax will be:
B7 = 0
B8= 250
B9 = 500
B10 = 750
B11 = 1,100
B12 = 1,000
 
Upvote 0
this is the best that I've come up with, note that formula is B12 is different from B8:B11


Excel 2013/2016
AB
1Annual Income40,000
2
3Marital statusSingle
4
5
6
70%
85%250
910%500
1015%750
1122%1,100
1225%3,000
Sheet1
Cell Formulas
RangeFormula
B8=A8*MAX(0,MIN(5000,$B$1-LOOKUP($B$3,{"Dependents","Single"},{16000,8000})-5000*(ROW(A8)-ROW($A$8))))
B12=A12*MAX(0,MIN(5000,$B$1-LOOKUP($B$3,{"Dependents","Single"},{16000,8000})-5000*(ROW(A12)-ROW($A$8))),$B$1-LOOKUP($B$3,{"Dependents","Single"},{16000,8000})-20000)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
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