Cellgrids Cellgrids
Home › Practice questions › VLOOKUP › Question 3

Excel VLOOKUP Practice Question: Using VLOOKUP, find the marks of the roll number typed in E2 and put them in F2.

By Rinkesh Shah, founder of Cellgrids.

The question

Using VLOOKUP, find the marks of the roll number typed in E2 and put them in F2.

The data

ABCDEF
1RollNameMarksRollMarks
2R-11Aman78R-13?
3R-12Bhavna91
4R-13Chetan66
5R-14Divya85

The yellow cell is where your answer goes.

Show answer

Answer in F2: 66

How it works

Explanation: Always use FALSE for IDs and codes so Excel only accepts an exact match.
Syntax: =VLOOKUP(E2,A2:C5,3,FALSE)
R-13 is Chetan. Marks is the 3rd column, so the answer is 66.

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

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

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

All practice questions · Excel exercises · Interview prep · Cheat sheet