Skip to main content
Albero Academy

XLOOKUP

The modern, flexible replacement for VLOOKUP.

Lookup & Reference8 min

XLOOKUP (Excel 365/2021) is the modern successor to VLOOKUP — simpler, more flexible, and free of VLOOKUP's biggest limitations. If you have it, prefer it.

The syntax

=XLOOKUP(lookup, lookup_array, return_array)
=XLOOKUP(A2, Products[ID], Products[Price])
│ │ └ the column to return from
│ └ the column to search
└ the value to find
=XLOOKUP(A2, IDs, Prices, "Not found") optional: if-not-found value

Why it's better

Key takeaways

  1. 01XLOOKUP is the modern replacement: XLOOKUP(lookup, lookup_array, return_array).
  2. 02It can look left or right — lookup and return columns are independent.
  3. 03It defaults to exact match and has a built-in if-not-found argument.
  4. 04Prefer XLOOKUP where available; know VLOOKUP for older workbooks.

Finished this chapter?

Mark it complete to track your progress through Excel.