Cellgrids Cellgrids
Home › Practice questions › XLOOKUP › Question 1

Excel XLOOKUP Practice Question: Using XLOOKUP, find the price of the SKU typed in E2 and put it in F2.

By Rinkesh Shah, founder of Cellgrids.

The question

Using XLOOKUP, find the price of the SKU typed in E2 and put it in F2.

The data

ABCDEF
1SKUItemPriceSKUPrice
2S-301Cable150S-304?
3S-302Adapter420
4S-303Hub1250
5S-304Charger780
6S-305Case360
7S-306Stand990

The yellow cell is where your answer goes.

Show answer

Answer in F2: 780

How it works

Explanation: XLOOKUP finds a value in one range and returns the matching value from another range. It is exact match by default, so you do not need to type FALSE.
Syntax: =XLOOKUP(lookup_value, lookup_array, return_array)
E2 is S-304, which is the Charger row. The return array is the Price column, so the answer is 780.

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 →

XLOOKUP syntax

=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found])

The modern replacement for VLOOKUP — searches any column and returns from any other, no column counting needed. XLOOKUP is used to pull matching data from one part of a workbook into another. Full XLOOKUP guide.

More XLOOKUP practice questions

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