Lookup Functions · INDEX + MATCH

Look left, look anywhere —
INDEX-MATCH runs everywhere.

The most portable lookup pattern in spreadsheets: return any column (even left of the key), survive column inserts, and run in every Excel version and Google Sheets. Below: a reproducible benchmark, 14 sourced error fixes, and a live playground.

D1
fx
=INDEX(return_range, MATCH(lookup_value, lookup_range, 0))
4
Table sizes tested
3
Functions compared
0
platform compatibility
100%
Correctness verified
fx INDEX
=INDEX(array, row_num, [column_num])
arrayrequired
The range to return a value from — any column, left or right of the key.
row_numrequired
Position within array; supply MATCH here.
column_numoptional
Column within array; a second MATCH makes it insert-safe.
fx MATCH
=MATCH(lookup_value, lookup_array, [match_type])
lookup_valuerequired
The value to find.
lookup_arrayrequired
A single row or column to search.
match_typeoptional
Use 0 for exact (default is 1 = approximate, the classic trap).
// 02 — Original data INDEX-MATCH vs VLOOKUP vs XLOOKUP

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. In our exact-match, full-column benchmark INDEX-MATCH was the slowest of the three — its win is portability and left-lookups, not raw speed. Choose it for shared or legacy workbooks where XLOOKUP isn't available; choose VLOOKUP for pure speed on big exact tables.

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