Tax Formula

Robby19

Board Regular
Joined
Mar 19, 2018
Messages
227
Thanks to the IRS and how they publish data I am in need of an interesting Index Match or some such formula. The parameters are below;

IRS Table - Single
[TABLE="width: 500"]
<TBODY>[TR]
[TD]At Least
[/TD]
[TD]But Less Than
[/TD]
[TD][/TD]
[TD]1
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]4
[/TD]
[TD]5
[/TD]
[TD]6
[/TD]
[TD]7
[/TD]
[TD]8
[/TD]
[TD]9
[/TD]
[TD]10
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]305
[/TD]
[TD]0.0765
[/TD]
[TD]0.0765
[/TD]
[TD]0.0765
[/TD]
[TD]0.0765
[/TD]
[TD]0.0765
[/TD]
[TD]0.0765
[/TD]
[TD]0.0765
[/TD]
[TD]0.0765
[/TD]
[TD]0.0765
[/TD]
[TD]0.0765
[/TD]
[TD]0.0765
[/TD]
[/TR]
[TR]
[TD]305
[/TD]
[TD]325
[/TD]
[TD]25.1
[/TD]
[TD]24.1
[/TD]
[TD]24.1
[/TD]
[TD]24.1
[/TD]
[TD]24.1
[/TD]
[TD]24.1
[/TD]
[TD]24.1
[/TD]
[TD]24.1
[/TD]
[TD]24.1
[/TD]
[TD]24.1
[/TD]
[TD]24.1
[/TD]
[/TR]
[TR]
[TD]325
[/TD]
[TD]345
[/TD]
[TD]28.63
[/TD]
[TD]25.63
[/TD]
[TD]25.63
[/TD]
[TD]25.63
[/TD]
[TD]25.63
[/TD]
[TD]25.63
[/TD]
[TD]25.63
[/TD]
[TD]25.63
[/TD]
[TD]25.63
[/TD]
[TD]25.63
[/TD]
[TD]25.63
[/TD]
[/TR]
[TR]
[TD]3445
[/TD]
[TD]3485
[/TD]
[TD]628.07
[/TD]
[TD]586.07
[/TD]
[TD]545.07
[/TD]
[TD]503.07
[/TD]
[TD]462.07
[/TD]
[TD]420.07
[/TD]
[TD]379.07
[/TD]
[TD]339.07
[/TD]
[TD]304.07
[/TD]
[TD]269.07
[/TD]
[TD]265.07
[/TD]
[/TR]
</TBODY>[/TABLE]

The first, I would say 100 rows are almost identical when it comes to 1-10, however after that they start changing, as you can see from the above example.

My spreadsheet;
Marital Status (N4) - Dropdown Single, Married
# of Withholdings Claimed (N5) - Dropdown 0-10
Monthly Pay (O5)

The formula should do the following;
IF N4 = Single look at "SingleTax" IF Married look at "MarriedTax" Table (both tables are set up exactly the same)
IF N5 = 0 look at the appropriate table under column 0
IF O5 = 306 match the o column cell of that same row.

Example: Single, 0 withholdings, $306 per month

In this example, the result would be 25.1 since he is Single, 0 withholdings and his monthly pay is greater than 305 and less than 325.
 
Last edited:

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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