Excel VLOOKUP Practice Question: Employees to pay a bonus are in A2:A6 and the salary table is in C2:D6.…
The question
Employees to pay a bonus are in A2:A6 and the salary table is in C2:D6. Calculate each bonus (10% of salary) in F2:F6, looking up the salary with VLOOKUP.
The data
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Employee | Name | Salary | Bonus | ||
| 2 | Karan | Amit | 52000 | ? | ||
| 3 | Rahul | Neha | 61000 | ? | ||
| 4 | Amit | Rahul | 47500 | ? | ||
| 5 | Neha | Priya | 58000 | ? | ||
| 6 | Priya | Karan | 66000 | ? |
The yellow cells are where your answer goes.
Show answer
Expected results:
- F2 = 6600
- F3 = 4750
- F4 = 5200
- F5 = 6100
- F6 = 5800
How it works
Explanation: VLOOKUP returns the salary, and multiplying by 0.1 gives 10% of it. You can combine a lookup with any calculation.
Syntax: =VLOOKUP(A2,$C$2:$D$6,2,FALSE)*0.1
Karan earns 66000, so the bonus is 6600. Rahul earns 47500, so the bonus is 4750.
Try it yourself in the live sheet
Type your formula in the highlighted cell and get instant feedback. Free, no Excel install needed.
Try this question in the live sheet →VLOOKUP syntax
Looks up a value in the first column of a range and returns a value from another column, same row. Pulling an employee's salary into another sheet using their ID. Full VLOOKUP guide.
More VLOOKUP practice questions
- Using VLOOKUP, find the price of the product code typed in E2 and put it in F2.
- Find the department of the employee ID typed in E2 and put it in F2.
- Using VLOOKUP, find the marks of the roll number typed in E2 and put them in F2.
- Using VLOOKUP with approximate match, find each student's grade from the band table in…
- Customer ID is typed in F1. Find that customer's name and city and put them in F2 and F3.
- Using VLOOKUP, fetch the unit price for each ordered product from the price list in…
- Find the total amount for each order (quantity times the unit price from the price list…
- Using VLOOKUP with MATCH to pick the column automatically, find the units for the…
All practice questions · Excel exercises · Interview prep · Cheat sheet