Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Find and reference the contents of a cell using multiple criteria

I am working on a payroll sheet that will extract data from the Federal Tax Chart based on multiple criteria. I have attempted a nested IF, too long, and Match/Index, kept getting a #N/A error.
The idea is to retrieve the tax amount based gross pay, filing status (married, single) and number of exemptions. Sheet one contains status and number of exemptions, sheet one is single, sheet 3 is married, and sheet 4 is payroll info. One of the biggest issues is making it reference the correct row based on the pay range (greater than or equal to column A, but less than column b on sheets 2 and 3. The filing status determines which sheet to pull from, and the number of exemptions determines which column on that page to pull the tax info from.

I know that there are plenty of payroll templates that calculate this, but they all seem to use a percentage rate. My boss is very specific that he wants it pulled from the tax tables.

Any help would be greatly appreciated.

Here are the sheets:
Sheet 1:
Name Pay Rate Married? Exemptions Additional Withholding Garnishments
John Smith 15.00 Y 2 $50 0.00

Sheet 2:
At Least Less Than 0 1 2 3 4 5 6 7 8 9 10
$ - $ 55.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 55.00 $ 60.00 $ 1.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 60.00 $ 65.00 $ 2.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 65.00 $ 70.00 $ 2.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 70.00 $ 75.00 $ 3.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 75.00 $ 80.00 $ 3.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 80.00 $ 85.00 $ 4.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 85.00 $ 90.00 $ 4.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 90.00 $ 95.00 $ 5.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 95.00 $ 100.00 $ 5.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -

Sheet 3:
At Least Less Than 0 1 2 3 4 5 6 7 8 9 10
$ - $ 170.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 170.00 $ 175.00 $ 1.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 175.00 $ 180.00 $ 1.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 180.00 $ 185.00 $ 2.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 185.00 $ 190.00 $ 2.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 190.00 $ 195.00 $ 3.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 195.00 $ 200.00 $ 3.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 200.00 $ 210.00 $ 4.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
$ 210.00 $ 220.00 $ 5.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -

Sheet 4:
Period Ending Pay Date Hours Gross Fed Withhold Medicare Social Security Net
1/3/2015 1/9/2015 $ - $ - $ - $ -
1/10/2015 1/16/2015 $ - $ - $ - $ -
1/17/2015 1/23/2015 $ - $ - $ - $ -
1/24/2015 1/30/2015 $ - $ - $ - $ -
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,514
Default Find and reference the contents of a cell using multiple criteria

Have a look here for "TaxCalculator_IRS.xls...

https://app.box.com/s/23yqum8auvzx17h04u4f

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cell contents from a reference NimbleThunder Excel Discussion (Misc queries) 4 December 29th 09 06:28 AM
How do I specify cell contents for the Criteria in SUMIF? Michael Excel Worksheet Functions 6 August 27th 07 08:42 PM
find multiple criteria Gary Keramidas Excel Programming 1 June 4th 07 10:29 PM
Reference cell contents Jeanette Deleon Excel Discussion (Misc queries) 0 June 28th 05 05:42 AM
3D reference with multiple criteria Biff Excel Worksheet Functions 2 May 13th 05 07:21 AM


All times are GMT +1. The time now is 12:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"