Original benchmark · 100,000 rows · Nov 2026

The XLOOKUP function,
measured & explained.

XLOOKUP is the modern replacement for VLOOKUP — it searches in any direction, defaults to exact match, and handles missing values gracefully. We benchmarked it against VLOOKUP and INDEX-MATCH at up to 100,000 rows so you can weigh flexibility against speed. No sign-up, no fluff.

D1
fx
=XLOOKUP(H2, A:A, C:C, "Not found", 0)
4
Table sizes tested
3
Functions compared
0×
vs INDEX-MATCH
100%
Correctness verified

How XLOOKUP works

XLOOKUP searches a lookup array and returns the matching item from a return array — in any direction. Three arguments are required; three are optional.

Syntax
=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])
Unlike VLOOKUP, the return array is independent — it can sit to the left of the lookup array.
lookup_valueREQWhat to search for.
lookup_arrayREQThe range to search in.
return_arrayREQThe range to return a value from.
if_not_foundOPTValue returned when no match exists (avoids #N/A).
match_modeOPT0 exact (default), -1 exact/next smaller, 1 exact/next larger, 2 wildcard.
search_modeOPT1 first-to-last (default), -1 last-to-first, 2 binary asc, -2 binary desc.
// 02 — Original data XLOOKUP vs VLOOKUP vs INDEX-MATCH

We benchmarked exact-match lookups in HyperFormula 3.3.1 — median recalculation time across four table sizes. This is original measured data, not republished.

VLOOKUP XLOOKUP INDEX-MATCH
Table rowsVLOOKUP (ms)XLOOKUP (ms)INDEX-MATCH (ms)
How we measured · who made this
LookupLab Research · run Nov 2026 · Apple Silicon · HyperFormula 3.3.1 · median of repeated runs

Exact-match lookups on a sorted table, full-column reference, median recalculation time across four table sizes. Every result was correctness-verified before timing. This is directly relevant to web spreadsheet tools and indicative, not identical to native Excel. XLOOKUP landed in the middle: about 1.2x faster than INDEX-MATCH but ~1.4x slower than VLOOKUP in our exact-match test. You trade a little speed for left-lookups, default exact match, and built-in not-found handling.

Text drafted with AI assistance and edited by LookupLab. Every benchmark number is machine-measured and reproducible, not generated. Data licensed CC BY 4.0.

// 03 — Try it live

Interactive lookup playground

Edit the cells, change the lookup key, switch functions and match modes. The result and the generated formula update instantly.

A1Employee data. Click any cell to edit
Result
$62,000
=VLOOKUP(1003,A2:D9,4,0)
✓ foundinstant
// 04 — Error library

The real-world error library

14 failure patterns mined from actual user reports on Reddit, Stack Overflow and Super User — each with the authentic symptom, root cause, a fix, and a runnable formula. Not textbook theory.

// 05 — Cross-platform

Where VLOOKUP works

Availability and syntax differences across desktop Excel, Google Sheets, LibreOffice and the web spreadsheet engines — including the exact-match quirk we found in our benchmark.

PlatformSupportNotesGotcha
✓ Supported full VLOOKUP◐ Partial works with caveatsCompiled from public docs · verify against your build
// 06 — Go deeper
🔒

Unlock the full VLOOKUP course

Everything above is free. Go Pro for the deep end.

✓ 200 graded practice problems with instant feedback ✓ INDEX-MATCH vs VLOOKUP deep dive + when to switch ✓ Two-way & leftward lookup patterns ✓ Downloadable workbook + completion certificate
$9/mo $59/yr · save 45% $149 lifetime
// 07 — FAQ

Frequently asked