Solved

# VLOOKUP Excel 2010

Posted on 2011-10-29
247 Views
Can you guys please help me out I’m trying to create a VLOOKUP that will display the holiday bonus base upon the following.

Employees in the IT department get a \$500 bonus,

Employees in HR get a \$700 bonus,

Employees in FINANCE get a \$800 bonus, and

Employees in ACCTG get a \$300 bonus.

Employee ID       Dept      Holiday Bonus

92-5601           HR
77-3407           IT
66-1000           ACCTG
77-3410           FINANCE
95-6688           IT
99-8989           HR
0
Question by:perla1962

LVL 43

Accepted Solution

Try

=VLOOKUP(B2,{"HR",700;"IT",500;"FINANCE",800;"ACCTG",300},2,0)
0

LVL 50

Assisted Solution

Hello,

for ease of maintenance I suggest creating a lookup table somewhere in the spreadsheet and reference that.

See attached.

cheers, teylyn
Book1.xlsx
0

Author Closing Comment

Thank you very much.
0

## Featured Post

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…