The XLOOKUP function largely replaces traditional lookup functions such as LOOKUP, VLOOKUP, and HLOOKUP in Google Sheets. It provides a flexible and powerful way to search for and return values from datasets. Compared to its predecessors, XLOOKUP supports advanced match options, dynamic ranges, and multi-criteria lookups.
This guide compiles XLOOKUP examples in Google Sheets across beginner, advanced, and practical use cases, so you can apply them to real-world spreadsheets.
XLOOKUP Basics
Start with these tutorials to understand the fundamentals and explore practical XLOOKUP examples in Google Sheets.
- How to Use the XLOOKUP Function in Google Sheets
Learn the syntax of XLOOKUP and all its arguments with clear examples. This tutorial covers basic lookups, returning values from different columns or rows, handling missing values, and using match and search modes. Perfect for beginners. - XLOOKUP Alternatives in Google Sheets
Before XLOOKUP, users relied on combinations like VLOOKUP, VLOOKUP + SORT, and VLOOKUP + INDEX. This guide explains these alternatives and shows why XLOOKUP simplifies lookup tasks, helping you understand the evolution of XLOOKUP examples in Google Sheets. - VLOOKUP vs XLOOKUP in Google Sheets: Key Differences & Use Cases
Compare XLOOKUP and VLOOKUP (or HLOOKUP) to see where XLOOKUP improves flexibility, supports dynamic ranges, and reduces formula complexity. Practical examples illustrate how XLOOKUP can replace traditional functions efficiently.
Advanced Lookup Techniques
Explore more powerful ways to use XLOOKUP for complex scenarios in Google Sheets.
- XLOOKUP with Multiple Criteria in Google Sheets
Learn how to search with multiple conditions using Boolean logic,IF,SEARCH, and array formulas. This tutorial shows dynamic multi-condition lookups without combining helper columns. - Two-Way Lookup with XLOOKUP in Google Sheets
Perform lookups that combine row and column criteria. Nested XLOOKUP functions allow you to find values at the intersection of row labels and column headers. - How to Search Across Multiple Columns with XLOOKUP in Google Sheets
XLOOKUP normally searches a single column, but this technique allows you to search across multiple columns (2D ranges) and return corresponding values efficiently. - XLOOKUP Nth Match in Google Sheets – Return the Nth Occurrence
Retrieve the second, third, or any specific occurrence of a value using LET, FILTER, and COUNTIFS. Control search direction and use wildcard matching for flexible results. - Nested XLOOKUP Function in Google Sheets
Learn how to place one XLOOKUP inside another to retrieve values from multiple tables or dynamically determine lookup ranges and result ranges.
Returning Multiple or Dynamic Results
These tutorials show how XLOOKUP can return flexible outputs instead of a single value.
- XLOOKUP for Multiple Column Results in Google Sheets
Return results from multiple columns using a single search key. MAP and BYCOL helper functions allow efficient multi-column results for multiple search keys. - Slicing Data with XLOOKUP in Google Sheets
Dynamically extract blocks of data between two lookup values using XLOOKUP combined with the range operator (:). Techniques include vertical or horizontal slicing and range adjustments with OFFSET. - XLOOKUP and Offset Results in Google Sheets
Retrieve values relative to the lookup position, such as rows above/below or adjacent columns. Combine XLOOKUP with OFFSET for flexible, dynamic results.
Practical XLOOKUP Examples in Google Sheets
Apply XLOOKUP to real-world problems like filtered data, dates, merged cells, and structured tables.
- XLOOKUP Visible (Filtered) Data in Google Sheets
Learn how to return only visible rows in filtered datasets using XLOOKUP with SUBTOTAL and helper functions like BYROW or MAP. - XLOOKUP with Date and Time in Google Sheets
Perform lookups for today’s date, nearest past/future dates, first/last occurrences, and timestamps using logical tests, IF, and array formulas. - XLOOKUP in Merged Cells in Google Sheets
Handle merged cells by creating a virtual filled column using nested XLOOKUP, returning the earliest or most recent value without unmerging. - How to Use XLOOKUP in a Structured Table in Google Sheets
Apply single- and multi-condition lookups using structured references, ARRAYFORMULA, MAP, and concatenation. Keep formulas dynamic, clean, and scalable.
XLOOKUP Examples with Other Functions
Combine XLOOKUP with other spreadsheet functions for advanced calculations.
- Counting XLOOKUP Results with COUNTIFS
Count occurrences of specific values using XLOOKUP with COUNTIF or COUNTIFS. Apply multiple criteria and iterate over multiple search keys with MAP and LAMBDA. - SUMIFS with XLOOKUP
Conditionally sum values returned by XLOOKUP, handling dates, months, or categories. Works in both Excel and Google Sheets with minimal adjustments.
XLOOKUP with External Data
XLOOKUP with Single IMPORTRANGE & LET in Google Sheets
Improve performance by importing external data once with LET and using it inside XLOOKUP. Supports vertical/horizontal lookups and multiple column results using CHOOSECOLS, CHOOSEROWS, and MAP.
Conclusion
XLOOKUP is one of the most versatile functions in Google Sheets. From simple lookups to advanced multi-criteria scenarios, mastering these XLOOKUP examples in Google Sheets lets you create efficient, dynamic, and scalable spreadsheets.
Use this hub as a reference to explore different XLOOKUP techniques and apply them to your own data analysis tasks.





















