Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2000 State & Federal withholding tax forms

Status
Not open for further replies.

Pappykahn

Technical User
Dec 13, 2004
3
US
Before I start, A very thoughtful THANK YOU to Ken Write for your help in translating numbers to text. It worked great.

my next problem is a little more involved. on sheet 1 I have a payroll spreadsheet that list the names, hours and tax break downs of all the employees. Most of the tax breakdowns are simple multiplications. =sum(B3*0.0145) But the State and Federal tax forms (that I do have on sheets 2 and 3) are very complicated. (example)

A B C D E &
4 Atleast But less than 0 1 2 3
5 $100 $105 $12.84 $7.84 $7.84 $7.84
6 $105 $110 $14.22 $8.22 $8.22 $8.22

The "At least" is in Column A, The "But less than" is in Column B and the (dependants) 0 through 3 are in Columns C through F. My question is if you have a total amount say on sheet D5 and total amount of dependence in E6. How can you get E7 to find that amount on sheet 2 that would come between the "At least" and "But less than" columns? Example; if the amount was $106.95 and they claimed 2 dependence it would have to located Column E and row 6 in the example above to get $8.22. Does anyone have an idea of how to accomplish this?

Pappykahn
 
OK try this ....

add the following cells to your example

A1 Total
B1 Dependants
C1 Value
A2 $109.99
B2 2
C2 =IF(A2<A5,"Error",IF(A2>B7,"Error",VLOOKUP(A2,A5:F7,B2+3,TRUE)))

A5 being the minimum value in A column
B7 being the maximum value in B column



Dom
 
sorry, i also added an extra line in row 7 for testing purposes

$110 $115 $16.83 $9.99 $9.99 $9.99

my vlookup in the formula includes row 7




Dom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top