← All comparisons

LOOKUP vs VLOOKUP: why the old one still shows up

Bare LOOKUP predates VLOOKUP and survives for two reasons: its vector form is pleasantly direct (lookup range and result range as separate arguments — like a primitive XLOOKUP), and its always-approximate matching powers classic tricks like finding the last non-blank cell. As a general lookup, though, it's a trap.

The differences at a glance

LOOKUPVLOOKUP
Match modeALWAYS approximate — assumes sorted data, no exact optionApproximate by default, exact with FALSE
Unsorted dataSilently wrong answersCorrect with FALSE
Separate lookup/result rangesYes (vector form) — can look leftNo — index into one table, rightward only
Famous trick=LOOKUP(2,1/(rng<>""),rng) → last non-blank
CompatibilityUniversalUniversal (both verified in every version we test)

Which should you use?

Compatibility (from executed tests)

Both execute identically in every version of Excel, Google Sheets, and LibreOffice we test — LOOKUP's dangers are semantic (silent approximate matching), not compatibility. XLOOKUP, the modern replacement for both, needs Excel 2021+/365, current Sheets, or LibreOffice 24.8+ per our executed results.

Example formulas

LOOKUP vector form (sorted thresholds)=LOOKUP(D2,A2:A10,B2:B10)
Last non-blank cell (the LOOKUP idiom)=LOOKUP(2,1/(A2:A100<>""),A2:A100)
VLOOKUP exact (the safe everyday form)=VLOOKUP(D2,A2:B10,2,FALSE)

Full per-version details on each function page: LOOKUP · VLOOKUP.