XLOOKUP is the friendlier function. One range for the key, one range for the answer, a built-in "if not found" argument, and it searches left or right without complaining. I still reach for INDEX and MATCH first, and the reason has nothing to do with nostalgia.
When a lookup returns the wrong value, INDEX and MATCH tells you which half failed.
That single property saves more time than any syntax shortcut. Here is what I mean, and the checks I run before I switch a lookup to XLOOKUP.
One formula, two questions
MATCH answers "where is this key?" INDEX answers "what sits at that position in that column?" Written separately in two cells, they split the failure into two visible halves.
If MATCH returns #N/A, the key is not there: a spelling difference, a stray space, a number stored as text. If MATCH returns a number but the value next to it looks wrong, the problem is the column you pointed INDEX at, or an offset you counted by hand and got wrong.
Written as one nested formula, both failures show up as the same #N/A and you are back to guessing. Before I trust a lookup in a new sheet, I write the MATCH alone and check the row number it returns against the row I can see with my own eyes. It takes ten seconds and it catches most of the real problems.
The three failures that account for almost everything
Trailing spaces. An export from a web form or a marketplace can carry a space at the end of a name. TRIM the key column, or use TRIM inside the lookup on both sides, and half of the mystery #N/As disappear.
Numbers stored as text. The value on the left looks like 1001 and the value on the right looks like 1001, but one is text and one is a number, and Excel treats them as different keys. Multiply by one, or use VALUE, and check the alignment: numbers sit to the right of a cell by default, text to the left. That alignment is a free diagnostic.
Hidden rows or a short range. A lookup range that stops at row 500 in a sheet with 620 rows returns #N/A for the last 120 and nobody notices until a report is wrong. I write lookups against whole columns or against tables, not against hand-typed ranges.
Left of the key is not a limitation, it is a check
The old complaint about VLOOKUP is that it cannot look to the left. INDEX and MATCH can, because the two ranges are independent: MATCH finds the row in one column, INDEX reads from any other column you name.
That independence is the part worth keeping. You can match on a customer name and return the payment terms from a column three places to the left, and the formula still reads clearly. You can also match on two keys by building a helper column that joins them, which is still the most reliable way to do a multi-condition lookup in a workbook that other people will edit.
Two-way lookups
The pattern that finally made INDEX and MATCH click for me was the two-way lookup: MATCH down the rows for the product, MATCH across the columns for the month, and INDEX at the intersection. Once you have written it once, every matrix in every report stops being scary.
XLOOKUP can do this too, by nesting one lookup inside another, but the nested version is harder to read and harder to hand to a colleague who has to fix it next month.
When I do switch
I switch to XLOOKUP when the workbook is mine alone, when it never leaves the current Excel version, and when the lookup is a simple one-column match. It is shorter and it has a proper not-found argument, which is genuinely better than wrapping everything in IFERROR.
I keep INDEX and MATCH when the workbook is shared with people on older versions, when the lookup is two-way, when I need the row number for something else in the same formula, or when I am debugging someone else's sheet and need to see which half is broken.
A short checklist
Before you trust any lookup in a sheet you inherited: run the MATCH alone and compare its number to the row you can see; check the alignment of the key column for text stored as numbers; TRIM both sides; confirm the lookup range covers every row; and write the not-found case on purpose, with a key you know is missing, to see what the formula does.
A lookup that returns the wrong row quietly is worse than one that returns an error loudly. That is the whole argument, and it is why the older pair of functions still earns its place.
I wrote the longer walkthrough of INDEX and MATCH, with the syntax and the two-way example, here: https://karimqalam-guides.blogspot.com/2026/12/index-and-match-in-excel-lookup-that.html


