Look Up to the Left and Avoid/A: XLOOKUP vs VLOOKUP in Excel

Video tutorial · 7:18 · Published

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

  1. 0:00 What this video covers
  2. 0:14 Exact match with VLOOKUP
  3. 0:52 The same lookup with XLOOKUP
  4. 1:26 Look up to the left
  5. 1:56 Show a message instead of #N/A
  6. 2:28 First match or last match
  7. 2:55 Match the next lower tier
  8. 3:39 Look up on two criteria
  9. 4:29 Return several columns at once
  10. 5:00 Use wildcards in a lookup
  11. 5:38 Fix common lookup errors
  12. 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)

Other versions of this video

More videos

All EpiFive videos