Ghost Sheet

XLOOKUP: the simpler lookup

How do I look up a price with XLOOKUP?

This is the task for this topic. It is part of the plan; the level check before it is free.
C2Type a formula for C2, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDE
1SKUQtyPrice
2RB-9728
3SC-39415
4GL-3186
5BN-40820
6ST-6402
7BX-20415
8LB-7543
9MK-4228
10FD-86823
11PN-2901
12MK-4227
13
14
15
16
17
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
XLOOKUP takes the key, the column to search and the column to return, so it can look left as well as right. Its fourth argument says what to show when nothing is found. It needs Excel 2021 or 365.
The shape of the formula
=XLOOKUP(key, column to search, column to return, "if not found")
How to remember it
Where to look and what to bring back are two separate columns: no counting.
The usual mistake
Hiding “not found” cases behind a blank. A missing price should say so, not quietly show nothing.

Keep practicing

Updated