Link to home
Start Free TrialLog in
Avatar of perla1962
perla1962

asked on

VLOOKUP Excel 2010

Hi,
You guys please help me out, I have an issue with VLOOKUP. I need to compute the income tax based upon the following schedule.
If gross pay <5,000, the tax rate is 15%.
If gross pay <7,000, the tax rate is 20%.
If gross pay <10,000, the tax rate is 25%.
Otherwise, the tax rate is 28%.


Employee ID          Dept                 Gross Pay                  Income Tax
92-5601                  HR                        3,000       
77-3407                  IT                         5,000       
66-1000                  ACCTG                15,000       
77-3410                  FINANCE            14,000       
95-6688                  IT                          7,000       
99-8989                   HR                          4,000
       
TOTAL                                        $    48,000        $                 -  

Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Flag of New Zealand image

Hello,

with the gross pay in A1

=LOOKUP(A1,{0,5000,7000,10000},{0.15,0.2,0.25,0.28})

Adjust to suit.

cheers, teylyn
ASKER CERTIFIED SOLUTION
Avatar of pritamdutt
pritamdutt
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of perla1962
perla1962

ASKER

I tried but I get error message.  here is the file.
LOOKUPfunctions.xlsx
I opened the attached file but did not receive any error. Please let us know the error you are receiving along with the version of EXCEL.

Regards,
I found the erro thank you I got it.