Help writing formula

Get_Involved

Active Member
Joined
Jan 26, 2007
Messages
383
I have a spreadsheet table "Federal Tax Rates"

Marginal Tax Brackets
Tax Rate Over But Not Over

row 1,Column A 10.0% Column B $0 Column C $17,850
row 2,Column A 15.0% Column B $17,850 Column C $72,500
row 3,Column A 25.0% Column B $72,500 Column C $146,400
row 4,Column A 28.0% Column B $146,400 Column C $223,050
row 5,Column A 33.0% Column B $223,050 Column C $398,350
row 6,Column A 35.0% Column B $398,350 Column C $450,000
row 7,Column A 39.6% Column B $450,000

I also have a spreadsheet "Payroll"

Column A Column B Column C
Gross Pay Tax Status Federal Income Percent
row 1 $15,000 1 should be 10.0%
row 2 $50,000 1 should be 15.0%

the formula I need is find the column A1 under gross Pay, with column B1 under Tax Status find the percentage from "Federal Tax Rates" and place it in C1 of "Payroll"

There will be four different tables in the "Federal Tax Rates" spreadsheet I can place the numbers 1,2,3, or 4 in (column b Tax Status) of the Payroll spreadsheet


Hope this is understandable.
Thanks for any help.
 
F row 15 [10.0%] G row 15 [$0 ] H row 15 [$8,925]
F row 16 [15.0%] F row 16 [$8,925] H row 16 [$36,250]

G is the lowest dollar H is the highest dollar any dollars in between are charged the percent in f row
 
Last edited:
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Try this (assuming the rates are the same for all tables, 10%,15,25,28,33,35,39):

=LOOKUP(Payroll!M5,CHOOSE({1,2},INDEX(('Federal Tax Rates'!$C$15:$C$21,'Federal Tax Rates'!$G$15:$G$21,'Federal Tax Rates'!$K$15:$K$21,'Federal Tax Rates'!$O$15:$O$21),,,Payroll!S5),'Federal Tax Rates'!$B$15:$B$21))
 
Upvote 0
That is getting real close. I am a truck driver an got to get in bed just a little more tweaking and you got it. thanks
Later
 
Upvote 0
Hello

the formula is working some what , but the Tax status 1,2,3, and 4, in Payroll S5 is not pulling from the right tables in the Worksheet "Federal Tax Rates"
Tax Rate percent in column B can be used with all the tables
Tax status 1 is table Named "Married Filing Jointly" column C and D
Tax status 2 is table Named "Married Filing Separately" column G and H
Tax status 3 is table Named "Single" column K and L
Tax status 4 is table Named "Head of Household" column O and P

The dollar over but not over are different in each table.
hope this makes since.
 
Upvote 0
It's working for me with the following structure. Note that I have hidden some columns, however, I am trying to replicate your setup (so please let me know if something is not right):

I invented some tables, since I don't have all of your numbers. I am also only showing the low side columns since that's all I need for the formula:


Excel 2010
BCGKO
14RateMarried Filing JointlyMarried Filing SeparatelySingleHead of Household
1510.00%0000
1615.00%17,85020,00030,00072,500
1725.00%72,50090,00070,000146,400
1828.00%146,400150,000110,000223,050
1933.00%223,050250,000300,000398,350
2035.00%398,350410,000375,000420,000
2139.60%450,000450,000450,000450,000
Federal Tax Rates



Excel 2010
MSV
4Gross PayTax StatusFederal Income Percent
515,000210.0%
650,000410.0%
775,000325.0%
815,000110.0%
9200,000328.0%
10350,000133.0%
11400,000233.0%
1260,000115.0%
1380,000325.0%
14120,000225.0%
15250,000133.0%
16310,000233.0%
Payroll
Cell Formulas
RangeFormula
V5=LOOKUP(Payroll!M5,CHOOSE({1,2},INDEX(('Federal Tax Rates'!$C$15:$C$21,'Federal Tax Rates'!$G$15:$G$21,'Federal Tax Rates'!$K$15:$K$21,'Federal Tax Rates'!$O$15:$O$21),,,Payroll!S5),'Federal Tax Rates'!$B$15:$B$21))
 
Upvote 0
Problem solved!
Ben You are the best it works perfect thank you, sorry I could explain it better the first time.
 
Upvote 0

Forum statistics

Threads
1,215,506
Messages
6,125,189
Members
449,213
Latest member
Kirbito

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