Look Up to the Left and Avoid/A: XLOOKUP vs VLOOKUP in Excel
Read the full guideWatch on YouTubeMore fixes on the EpiFive channel
About this video
Compare XLOOKUP and VLOOKUP on one sample table, with copy-paste formulas for exact, left, approximate, wildcard and two-criteria lookups, plus fixes for common errors.
This tutorial walks through the steps of the full guide on screen; the chapters below jump to each part.
Chapters
- 0:00 What this video covers
- 0:14 Exact match with VLOOKUP
- 0:52 The same lookup with XLOOKUP
- 1:26 Look up to the left
- 1:56 Show a message instead of #N/A
- 2:28 First match or last match
- 2:55 Match the next lower tier
- 3:39 Look up on two criteria
- 4:29 Return several columns at once
- 5:00 Use wildcards in a lookup
- 5:38 Fix common lookup errors
- 6:29 Recap
Key points
- XLOOKUP returns an exact match by default, while VLOOKUP uses approximate match unless the fourth argument is FALSE.
- XLOOKUP can return a value from a column to the left of the lookup column, which VLOOKUP cannot do.
- Microsoft states that XLOOKUP is not available in Excel 2016 and Excel 2019, so files shared with those versions still need VLOOKUP or INDEX and MATCH.
- A two-criteria XLOOKUP uses 1 as the lookup value and multiplies TRUE/FALSE comparisons, such as (B2:B10=x)*(C2:C10=y), as the lookup array.
- Inserting a column inside a VLOOKUP range can make a hard-coded col_index_num return the wrong column, while XLOOKUP's return_array reference moves with the data.
In the full guide
XLOOKUP vs VLOOKUP in Excel: Differences and Formulas With Examples (16 min read, Microsoft 365)



