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

Transcript-matched member videos for XLOOKUP(). Click through to watch.

Browse more tutorials
REGEXMATCH Formula Generator for Google Sheets

REGEXMATCH Formula Generator for Google Sheets

Revolutionize the way you handle data with the BetterSheets REGEXMATCHER...
Write Apps Script to Create a New Google Sheets Formula

Write Apps Script to Create a New Google Sheets Formula

Create a brand new custom formula in Apps Script. We'll do this for our ...
One Weird Google Sheet Formula for Bulk Publishing With AI

One Weird Google Sheet Formula for Bulk Publishing With AI

'll show you a game-changing Google Sheet formula that will make your da...
Create a Trello Board with Transpose Formula in Google Sheets

Create a Trello Board with Transpose Formula in Google Sheets

Use Transpose() to create a web-based, Kanban style, list-making applica...

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