Use XLOOKUP in Excel to find values faster (better than VLOOKUP)

Quick guide to using Excel's XLOOKUP function: pick a result cell, specify the lookup value, the lookup array, and the return array — press Enter to get a match that works left or right.

What the video covers

Show the core, minimal steps to perform a basic XLOOKUP that returns a matching value from a separate column or range.

Watch the video on YouTube

Step-by-step instructions

  1. Select the result cell
    Click the cell where you want the matching value to appear.
  2. Start the XLOOKUP formula
    Type =XLOOKUP( to begin the function.
  3. Enter the lookup value
    Select or type the cell that contains the value to search for (lookup_value).
  4. Select the lookup array
    Highlight the range or column where Excel should search for the lookup value (lookup_array).
  5. Select the return array
    Highlight the range or column that contains the results you want returned (return_array). The return array should be the same size as the lookup array.
  6. Finish and get the result
    Close the parentheses if needed and press Enter. The cell will display the matching value. Optionally add a fourth argument to XLOOKUP to show a friendly message if no match is found.

Watch the video

Video thumbnail for Use XLOOKUP in Excel to find values faster (better than VLOOKUP) Play tutorial

Watch on YouTube

Why it matters

XLOOKUP is a modern replacement for VLOOKUP: it can search left or right, doesn’t require rearranging columns, and is less brittle when sheet layouts change.

Check your result

A correct result appears in the chosen cell showing the expected matching value. If no match exists, XLOOKUP can return a custom message or an error depending on how you define the optional arguments.

Troubleshooting

If you see #N/A: the lookup value wasn’t found or lookup and return arrays don’t align. If you get a wrong value: ensure you selected the correct lookup array and matching return array and that both ranges are the same height/length. If nothing happens: confirm you entered the formula (starts with =) and pressed Enter. To avoid errors for missing values, use XLOOKUP’s optional argument for value_if_not_found.