Formulas > =XLOOKUP()

How to Use XLOOKUP() in Google Sheets

Description

Returns the values in the result range based on the position where a match was found in the lookup range. If no match is found, it returns the closest match.

How To Actually Use XLOOKUP() in Sheets

XLOOKUP(search_key, lookup_range, result_range, missing_value, [match_mode], [search_mode])

Try XLOOKUP yourself

In cells E1:E5, use the XLOOKUP formula to find the corresponding values from the range B1:B5 based on the search keys in D1:D5. The result should display the matching values from A1:A5.

Hints (2)

Looking for a video tutorial? Members can email me anytime! Check out the blogs below for more info on this formula. Or generate your formula. Find more formulas here at BetterSheets.co/formulas

Learn more about the XLOOKUP() formula:

Generate a XLOOKUP() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses XLOOKUP(). 2 free AI generations, no signup. Members get unlimited use.

Generate a XLOOKUP() formula