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 YouTubeStep-by-step instructions
- Select the result cell
Click the cell where you want the matching value to appear. - Start the XLOOKUP formula
Type =XLOOKUP( to begin the function. - Enter the lookup value
Select or type the cell that contains the value to search for (lookup_value). - Select the lookup array
Highlight the range or column where Excel should search for the lookup value (lookup_array). - 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. - 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
Play tutorial
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.