Cellgrids Cellgrids
Home › Practice questions › VLOOKUP › Question 9

Excel VLOOKUP Practice Question: Using VLOOKUP with a wildcard, find the price of the first laptop in the list…

By Rinkesh Shah, founder of Cellgrids.

The question

Using VLOOKUP with a wildcard, find the price of the first laptop in the list whose name starts with Dell and put it in D2.

The data

ABCD
1ModelPriceDell price
2Dell XPS 151500?
3HP Spectre1400
4Dell Inspiron800
5Lenovo T141100
6Asus Zen900

The yellow cell is where your answer goes.

Show answer

Answer in D2: 1500

How it works

Explanation: A wildcard lets you look up part of a name. VLOOKUP returns the first row that matches, here Dell XPS 15.
Syntax: =VLOOKUP("Dell*",A2:B6,2,FALSE)
"Dell*" matches Dell XPS 15 first (Dell Inspiron comes later). Its price in column 2 is 1500.

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