XLOOKUP Function in Excel: Syntax, Examples & Practice
Learn the Excel XLOOKUP function: Finds a value in one range and returns the corresponding value from another range. Try focused practice and download a free workbook.
Syntax
=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])
Available in Microsoft 365, Excel 2021 and Excel 2024 on desktop. Older perpetual releases may not support this function.
Worked example
| Row | A: Employee ID | B: Employee | C: Branch | D: Collection |
|---|---|---|---|---|
| 2 | E101 | Amit | Mumbai | 45000 |
| 3 | E102 | Priya | Pune | 62000 |
| 4 | E103 | Ravi | Nashik | 38000 |
| 5 | E104 | Neha | Mumbai | 55000 |
=XLOOKUP("E103",A2:A5,C2:C5,"Not Found")Expected result: Nashik
Lookup E103 in column A and return the matching Branch from column C.
Professional use
Modern replacement for many VLOOKUP/HLOOKUP tasks.
Practice XLOOKUP · Download practice .xlsx
Apply your skills
Explore MIS and finance projects
Questions and answers
How can I practise XLOOKUP?
Use the focused ten-question XLOOKUP lab, then download its workbook for ten additional function-specific tasks and an answer key. Core learning works without an account.
Which Excel version supports XLOOKUP?
Available in Microsoft 365, Excel 2021 and Excel 2024 on desktop. Older perpetual releases may not support this function.
Does the browser simulator replace Microsoft Excel?
No. It supports a selected set of formula behavior for practice. Native workbook recalculation, full function compatibility, PivotTables and external data features must be checked in your own Excel installation.
Interactive practice runs in your browser.