Look up a value with XLOOKUP
Fetching a value from another column by matching a key — the single most-used skill in any real spreadsheet.
The data
| Row number | A | B | C |
|---|---|---|---|
| 1 | SKU | Product | Price |
| 2 | A-101 | Wireless Mouse | 24.5 |
| 3 | A-102 | USB-C Dock | 89 |
| 4 | B-204 | Monitor 27" | 310 |
| 5 | B-205 | Standing Desk | 445 |
| 6 | C-310 | Webcam HD | 62 |
Your task
Put a formula in F2 that returns the price for SKU B-204 by looking it up in column A.
Your formula goes in F2
The checker compares your formula against the accepted answers — it does not run it. The expected result is shown with the solution so you can verify it in your own spreadsheet.
Why this is the right formula
All three work, and which you reach for matters. XLOOKUP defaults to an exact match and references the return column directly, so inserting a column between A and C cannot break it. VLOOKUP hard-codes the column number 3, which silently returns the wrong column after an insertion — the most common way an inherited lookup goes wrong. INDEX with MATCH is the portable middle ground that works in every version.
Try next
Free to use, share and republish — including commercially. Attribution isn't required, but it's what keeps these free to make, and there's one ready to paste below.
Questions
Does this actually run my formula?
No, and it is worth being clear about that. The checker normalises what you type — case, spaces, the semicolon-or-comma separator, dollar-sign anchors — and compares it against every formula that solves the task. The expected result is shown so you can verify it independently in your own spreadsheet.
My formula is different but correct. Will it be marked wrong?
It should not be: each exercise accepts the genuinely different approaches, not one blessed answer. If you find a correct formula that is rejected, the feedback button sends it to us with the page attached.
Do I need an account?
No. There is no signup, no progress tracking and nothing stored — everything happens in your browser.