XMATCH Function in Excel: Syntax, Examples & Practice

Learn the Excel XMATCH function: Modern MATCH with flexible match and search options. Try focused practice and download a free workbook.

Syntax

=XMATCH(lookup_value, lookup_array, [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

RowA: Employee IDB: Employee
2E101Amit
3E102Priya
4E103Ravi
5E104Neha
=XMATCH("E103",A2:A5,0)

Expected result: 3

MATCH returns the position of the searched key, not the returned value.

Professional use

Modern position-based lookups.

Practice XMATCH · Download practice .xlsx

Apply your skills

Explore MIS and finance projects

Questions and answers

How can I practise XMATCH?

Use the focused ten-question XMATCH 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 XMATCH?

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.