VLOOKUP vs XLOOKUP — which should you learn first?

Learn exact-match VLOOKUP for exams and legacy files, then graduate to XLOOKUP for cleaner everyday models—with side-by-side formulas and practice links.

If you only have time for one modern lookup, learn XLOOKUP. If you are preparing for assessments or inheriting older workbooks, learn exact-match VLOOKUP too. Most strong candidates can explain both in one minute and write either under pressure.

Side-by-side on the same task

Price list in A2:C100 (Code, Name, Price). Order code in E2. Return price in F2.

VLOOKUP (exact):

=VLOOKUP(E2, $A$2:$C$100, 3, FALSE)

XLOOKUP:

=XLOOKUP(E2, $A$2:$A$100, $C$2:$C$100)

Same business result. Different failure modes.

Why VLOOKUP still shows up

VLOOKUP is everywhere in textbooks, interview screens, and decade-old templates. Recruiters still ask for it by name. The danger is not VLOOKUP itself—it is:

Rule of thumb: always write FALSE for IDs and names unless you intentionally want approximate bands (grades, tax brackets).

Practice set: VLOOKUP practice exercises · Guide: VLOOKUP · Lesson: VLOOKUP practice

Why XLOOKUP feels better day to day

XLOOKUP separates the lookup column from the return column, so you can look left, survive inserted columns, and default to exact match. The optional if_not_found argument returns a friendly message without blanketing IFERROR over real mistakes.

Look left (name → code) example:

=XLOOKUP(E2, $B$2:$B$100, $A$2:$A$100, "Not found")

Practice set: XLOOKUP practice exercises · Guide: XLOOKUP · Lesson: XLOOKUP practice

Decision cheat sheet

Three interview lines worth memorizing

  1. “I’d use XLOOKUP when available because exact match is default and I can look left.”
  2. “If I write VLOOKUP, I always pass FALSE for IDs and lock the table with $ before fill-down.”
  3. “#N/A means no match—I check presence, data types, and spaces before I rewrite the range.”

More Q&A: Excel interview questions (with practice)

A practical learning path

  1. Drill exact VLOOKUP until #N/A no longer surprises you — VLOOKUP exercises.
  2. Rebuild the same tasks with XLOOKUP — XLOOKUP exercises.
  3. Keep INDEX / MATCH as a compatibility tool — or compare them head-to-head in XLOOKUP vs INDEX MATCH.
  4. Clean keys before either lookup — text cleanup before lookups.

When the pattern feels boring, you are ready for the screen share.

Excel practice hub · Free lessons · Blog