Comparison

XLOOKUP vs VLOOKUP: which should you use?

Both find a value in one column and return something from the same row. XLOOKUP is the modern replacement; VLOOKUP still matters because it’s everywhere in older files and on Excel tests.

XLOOKUPVLOOKUP
Looks leftYesNo, the key must be the first column
Default matchExactApproximate (you must add FALSE)
Survives inserted columnsYesNo, the column number goes stale
Built-in “not found” messageYes, 4th argumentNo, wrap in IFERROR / IFNA
Search from the bottomYes, search_mode -1No
Available inMicrosoft 365, Excel 2021+, Google SheetsEvery version of Excel and Sheets

Side by side

XLOOKUP

=XLOOKUP(1006,A2:A9,C2:C9) → Omar

VLOOKUP

=VLOOKUP(1006,A2:F9,3,FALSE) → Omar

Examples use this sample sheet of orders:

A
B
C
D
E
F
1
Order
Region
Rep
Units
Price
Revenue
2
1001
East
Maya
4
12
48
3
1002
West
Omar
2
30
60
4
1003
East
Lena
7
12
84
5
1004
North
Maya
1
45
45
6
1005
West
Lena
5
30
150
7
1006
East
Omar
3
18
54
8
1007
North
Lena
6
12
72
9
1008
West
Maya
8
18
144

Which should you use?

Use XLOOKUP whenever everyone who opens the file has Excel 2021 or Microsoft 365. Learn VLOOKUP anyway: you’ll inherit spreadsheets full of it, and interviewers still ask about it.

Learn more