XLOOKUP vs VLOOKUP: Which Lookup to Use
You need to pull a price, customer, or status from another table, and every guide shows two different formulas. Which lookup should you actually use — and does the old one still matter?
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
XLOOKUP searches A2:A5 for the value in E2 and returns whatever sits in the same row of C2:C5 — the same answer =VLOOKUP(E2,A2:C5,3,FALSE) gives, with three fewer ways to get it wrong. Exact match is XLOOKUP's default, so there's no FALSE argument to forget; VLOOKUP without FALSE silently returns wrong values on unsorted data. XLOOKUP can look left — the return column can sit anywhere relative to the search column, while VLOOKUP only reads to the right of column one. And because XLOOKUP takes a return range instead of a counted column number, inserting a column never breaks it. The one reason VLOOKUP still matters: XLOOKUP needs Excel 2021/365 or Google Sheets, so files shared with older Excel still need VLOOKUP or INDEX+MATCH.
When to use it
Default to XLOOKUP in Excel 2021+, Microsoft 365, and Google Sheets. Reach for VLOOKUP only when the file must open cleanly in Excel 2019 or older — where XLOOKUP shows #NAME?.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveLast reviewed 2026-07-08