VLOOKUP vs XLOOKUP: Which One Should You Use? (2026 Guide)

Both formulas answer the same question: "I have a value — find it in this table and bring back the matching row." VLOOKUP has done that job since the 1980s. XLOOKUP arrived in 2019 and fixed most of VLOOKUP's annoyances. Here is the honest comparison, with the same example in both, so you can decide for your spreadsheet.

The same lookup, both ways

You have a product list: column A is the product code, column C is the price. Find the price of product ABC123.

VLOOKUP:

=VLOOKUP("ABC123",A2:D100,3,FALSE)

XLOOKUP:

=XLOOKUP("ABC123",A2:A100,C2:C100)

Read VLOOKUP as: find ABC123 in A2:D100, return the value from the 3rd column of that range, and use an exact match (FALSE). Read XLOOKUP as: find ABC123 in A2:A100, return the value from the same position in C2:C100. Same answer, but XLOOKUP says what it means — no counting columns, no cryptic FALSE at the end.

Side by side

VLOOKUPXLOOKUP
Exact matchOnly if you add FALSE — forget it and you get an approximate match, which is wrong most of the timeExact match by default
Look to the leftImpossible — the lookup column must be the leftmost column of the rangeWorks — the lookup and return ranges are separate
Inserting a columnBreaks it — the column number you counted no longer points at the right columnSafe — ranges shift with the sheet
Not found#N/A, unless you wrap it in IFERRORBuilt in: =XLOOKUP("ABC123",A2:A100,C2:C100,"Not found")
Return a whole rowOne column at a timeOne formula can return several columns at once
Works inEvery Excel version, Google Sheets, LibreOfficeMicrosoft 365 and Excel 2021 or newer only — not Google Sheets

When XLOOKUP wins

Use XLOOKUP when you are on Microsoft 365 or Excel 2021 and the file stays in modern Excel. The built-in "not found" text alone is worth it — #N/A errors scattered through a report are the number one reason people wrap VLOOKUP in IFERROR, and XLOOKUP makes that wrapper unnecessary:

=XLOOKUP("ABC123",A2:A100,C2:C100,"Not found")

Looking to the left is the other big one. If the code is in column C and the price is in column A, VLOOKUP simply cannot do it; XLOOKUP does not care which side the answer is on.

When to keep VLOOKUP

The mistake both of them share

Neither function fixes dirty data. If VLOOKUP or XLOOKUP returns #N/A for a value you can see in the table, the values only look the same. Check with =A2=B2 in a spare cell — FALSE means a hidden difference, usually a trailing space or a number stored as text. Trim spaces with =TRIM(A2) and convert text-numbers with Data → Text to Columns → Finish.

FAQ

Is XLOOKUP better than VLOOKUP?

In most cases, yes — XLOOKUP defaults to an exact match, can look to the left, and has a built-in "if not found" value. But VLOOKUP still wins on compatibility: it works in every version of Excel and in Google Sheets, while XLOOKUP needs Microsoft 365 or Excel 2021 or newer.

Why does VLOOKUP return #N/A?

Usually the lookup value genuinely is not in the table, or it does not match exactly — extra spaces, numbers stored as text, or a different format. Check with =A2=B2 in a spare cell: FALSE means the values only look the same.

Does XLOOKUP work in Google Sheets?

No — XLOOKUP is not available in Google Sheets. Use VLOOKUP or INDEX and MATCH there.

Describe it — get the formula

Type what you want in plain English and get the VLOOKUP, XLOOKUP, or any other formula, explained. Free: 5 formulas a day, no account. Sigline Pro ($39 once) unlocks unlimited.

Try the formula generator — free

Related: How to use INDEX and MATCH together in Excel — the lookup that works everywhere XLOOKUP does not.