XLOOKUP

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. Learn more

Video field
Lookup

XLOOKUP is a function in Google Sheets that searches for a value in a specified range and returns a corresponding value in another specified range. The function takes several arguments:

searchkey: This is the value that you want to search for in the lookuprange.

lookuprange: This is the range of cells that contains the values that you want to search through for the searchkey.

resultrange: This is the range of cells that contains the values that you want to return if the corresponding value in the lookuprange matches the search_key.

missingvalue: This is the value that XLOOKUP will return if it can't find a match for the searchkey.

matchmode: This is an optional argument that specifies how XLOOKUP should match the searchkey with the values in the lookup_range. There are four match modes: exact (default), next larger, next smaller, and wildcard.

searchmode: This is an optional argument that specifies whether XLOOKUP should perform a linear search (default) or a binary search on the lookuprange.

XLOOKUP is a versatile function that can be used in many different scenarios, such as looking up values in a table, matching data across multiple worksheets or workbooks, and searching through large data sets.

Want even more from Google Sheets?


With Softr, you can turn your spreadsheets into powerful web apps.You can give advanced roles and permissions to each user, build advanced logic and automation flows, customize the design to your needs, and much more.


Softr also offers a growing library of templates for internal tools, client portals, community hubs, and more. The templates come with a Google Sheet or an Airtable base that you can use to store and manage your data easily.


Try Softr now and build your custom web apps in 10 minutes no code required!