XLOOKUP practice exercises

Finds a value in one range and returns the matching value from another — in any direction. Below are 6 interactive exercises that put it to work on realistic business data — you write the formula, and get told exactly what went wrong when it does not work.

6 free XLOOKUP exercises · about 50 minutes · no sign-up · runs in your browser

First up: Look up a customer's region with XLOOKUP (8 min). The sheet holds the data for 4 of the 6 XLOOKUP exercises on this page (the others are questions with no spreadsheet), with the answer cells blank; the feedback and the solution are in the browser exercise.

Syntax

XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])

Available from Excel 2021.

Need a refresher? Learn XLOOKUP — syntax, a worked example and where it goes wrong.

On your own sheet? Try the XLOOKUP Formula Generator or the Formula Checker.

Last updated

Practise XLOOKUP

Ordered from most approachable to hardest.

When XLOOKUP is the right tool

Finds a value in one range and returns the matching value from another — in any direction. It belongs to the lookup & reference family, and it shows up constantly in real work — which is why it is worth being genuinely fluent rather than merely familiar.

Before this one, it helps to be comfortable with VLOOKUP. The exercises below assume that ground is covered.

Reading about a function is not the same as being able to write it. The exercises on this page exist because the gap between recognising XLOOKUP and producing it from memory, correctly, on data you have not seen before, only closes by doing it.

Questions about XLOOKUP

Where can I find free XLOOKUP practice exercises with answers?

Here: 6 XLOOKUP exercises on realistic business data, free and with no sign-up. You write the formula in a real spreadsheet grid and the checker says exactly what went wrong. A hint or another go is offered first, and the full solution, with an explanation of why it works, is always one click away.

Is there a XLOOKUP practice sheet I can download?

Yes. The XLOOKUP practice sheet is a CSV with the data for 4 of the 6 XLOOKUP exercises on this page (the others are questions with no spreadsheet), and the answer cells left blank. It is free, needs no sign-up and opens in Excel; use Save As and choose Excel Workbook (.xlsx) to keep your work. Feedback on a wrong answer, and the solution, are in the browser exercise. Teachers may share the file under CC BY 4.0 with credit.

How do I practise XLOOKUP without Excel installed?

Every exercise on this page runs in your browser. You type the XLOOKUP formula into a real spreadsheet grid and get told immediately whether it works — no download, no account.

What does XLOOKUP do?

Finds a value in one range and returns the matching value from another — in any direction. The syntax is XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode]). The exercises below put it to work on realistic business data rather than abstract examples.

How long does it take to learn XLOOKUP?

Most people can write a working XLOOKUP formula within twenty minutes of practice. Getting it right under pressure — with edge cases, unsorted data and ranges that must survive being filled down — is what the harder exercises here are for.