Conditional formula

atmicmu

New Member
Joined
Jul 16, 2018
Messages
2
I need some help :-)

(don't worry about the dutch words, not important for the question)

So I'm making a sheet that can keep my income and costs every month and calculate my taxes etc automaticly.
Fot taxes and other stuff in Belgium we use a system based on net income according to the following table;

[TABLE="class: table table-striped table-bordered, width: 837"]
<tbody style="box-sizing: border-box;">[TR]
[TD="class: left, bgcolor: #F9F9F9"]Belastingschijf[/TD]
[TD="class: middle, bgcolor: #F9F9F9"]Inkomensschijf[/TD]
[TD="class: right, bgcolor: #F9F9F9"]Tarief belasting[/TD]
[/TR]
[TR]
[TD]Schijf 1[/TD]
[TD]€ 0 tot €12 990[/TD]
[TD]25%[/TD]
[/TR]
[TR]
[TD="bgcolor: #F9F9F9"]Schijf 2[/TD]
[TD="bgcolor: #F9F9F9"]€ 12 990,01 t/m € 22 290[/TD]
[TD="bgcolor: #F9F9F9"]40%[/TD]
[/TR]
[TR]
[TD]Schijf 3[/TD]
[TD]€ 22 290,01 t/m € 39 660[/TD]
[TD]45%[/TD]
[/TR]
[TR]
[TD="bgcolor: #F9F9F9"]Schijf 4[/TD]
[TD="bgcolor: #F9F9F9"]Meer dan 39 660,01 euro[/TD]
[TD="bgcolor: #F9F9F9"]50%[/TD]
[/TR]
</tbody>[/TABLE]

So, what I can't find is how to formulate in 1 cell that the % tax has to be according to this table?

Thanks for helping!
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Not sure how this converts to Dutch format formula but here's what I'd do:


Book1
ABC
1AmountTax %Tax Value
2€ 10,000.0025%€ 2,500.00
3€ 12,990.0025%€ 3,247.50
4€ 12,990.0140%€ 5,196.00
5€ 15,000.0040%€ 6,000.00
6€ 20,000.0040%€ 8,000.00
7€ 25,000.0045%€ 11,250.00
8€ 30,000.0045%€ 13,500.00
9€ 40,000.0050%€ 20,000.00
Sheet1
Cell Formulas
RangeFormula
B2=VLOOKUP($A2,{0,0.25;12990.01,0.4;22290.01,0.45;39660.01,0.5},2,TRUE)
C2=$A2*$B2


Maybe it's:

Code:
=VLOOKUP($A2,{0\0.25;12990,01\0.4;22290,01\0.45;39660,01\0.5},2,TRUE)

WBD
 
Upvote 0
Thank you WBD!

I think I understand where you are going with this. What I need is the following;

When my total income minus costs = X
And the calculation you make is Y

How do i: Create 1 cell that automaticly looks at X and decides what % to use (Y) to give me a total that is (gros-taxes=net)
 
Upvote 0
I guess that would be column D:


Book1
ABCD
1AmountTax %Tax ValueNet
2€ 10,000.0025%€ 2,500.00€ 7,500.00
3€ 12,990.0025%€ 3,247.50€ 9,742.50
4€ 12,990.0140%€ 5,196.00€ 7,794.01
5€ 15,000.0040%€ 6,000.00€ 9,000.00
6€ 20,000.0040%€ 8,000.00€ 12,000.00
7€ 25,000.0045%€ 11,250.00€ 13,750.00
8€ 30,000.0045%€ 13,500.00€ 16,500.00
9€ 40,000.0050%€ 20,000.00€ 20,000.00
Sheet1
Cell Formulas
RangeFormula
B2=VLOOKUP($A2,{0,0.25;12990.01,0.4;22290.01,0.45;39660.01,0.5},2,TRUE)
C2=$A2*$B2
D2=$A2*(1-VLOOKUP($A2,{0,0.25;12990.01,0.4;22290.01,0.45;39660.01,0.5},2,TRUE))


WBD
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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