XLOOKUP Google Sheets Formula

Generate Google Sheets XLOOKUP Formulas in seconds

Interactive Google Sheets Formula Generator

Formula Generator

Create complex Google Sheets formulas with natural language. Simply describe what you want to calculate.

Upgrade to Sheet Alchemy Pro

Get advanced formulas, batch processing, and priority support

Upgrade Now

Input

Result

Your formula will be displayed here:

Your formula will appear here

Describe what you want to calculate and click Generate

Pro Features Available

Sheet Alchemy Pro includes additional advanced features to enhance your formula generation.

Advanced Formulas

Complex array formulas and dynamic ranges

Batch Processing

Generate multiple formulas at once

Unlimited History

Save and organize all your formulas

XLOOKUP Formula Syntax

=XLOOKUP(5, A1:A3, B1:B3, "Not Found")

Example Use Case

Searches a range for a value and returns a corresponding value with advanced options in Google Sheets.

Understanding the XLOOKUP Function in Google Sheets

The XLOOKUP function searches a range for a value and returns a match from another range, with options for defaults and search direction.

Why Use XLOOKUP in Google Sheets?

XLOOKUP is a modern, flexible alternative to VLOOKUP, offering more control and error handling.

Example with Sample Data

Search RangeReturn RangeFormulaResult
A1:A3 = {1,5,9}B1:B3 = {10,20,30}=XLOOKUP(5, A1:A3, B1:B3, "Not Found")20
A1:A3 = {1,5,9}B1:B3 = {10,20,30}=XLOOKUP(7, A1:A3, B1:B3, "Not Found")Not Found
A1:A2 = {2,4}B1:B2 = {X,Y}=XLOOKUP(4, A1:A2, B1:B2, "N/A")Y

The table shows how XLOOKUP performs lookups with defaults.

Master Google Sheets with Sheet Alchemy

Get access to all our formula generators, script generators, and advanced tutorials with a free Sheet Alchemy account.