Last Match

By default, the XLOOKUP Function performs a top-to-bottom search. But if the user wants to change this order and search for the bottom to top then the formula should be: =XLOOKUP(Search for the value, in this range, return the output from this range, -1)

Note: -1 in this formula should be the 6th parameter) 

XLOOKUP Function in Excel With Examples

XLOOKUP Function helps us to search value in a horizontal or vertical dataset and return the relative value in some other row or column. In this article, we will look at the XLOOKUP Function in Excel. XLOOKUP is a modern replacement for functions like HLOOKUP, VLOOKUP, and LOOKUP. XLOOKUP supports approximate and exact matching, wildcards for partial matches, and lookups in horizontal or vertical ranges. XLOOKUP can be performed in Microsoft 365.

Similar Reads

What is XLOOKUP in Excel

XLOOKUP in Excel is a newer and more versatile way to find and retrieve data. It’s easier to use than older lookup functions and can search in any direction (vertical or horizontal). XLOOKUP handles errors, supports wildcards for partial matches, and can return arrays of values. It’s great for working with large datasets and simplifies many common tasks....

XLOOKUP Vs VLOOKUP in Excel

XLOOKUP and VLOOKUP are Excel functions used for finding information in a table, but they have differences:...

How to Use XLOOKUP in Excel

XLOOKUP Function Syntax...

How to Enable XLOOKUP in Excel

To access the XLOOKUP function in Excel, you need to be using a version of Excel that supports it....

XLOOKUP Function Examples

Below are some examples through which the XLOOKUP function will be easily understandable....

Exact Match

This function in XLOOKUP is by default....

Approximate Match

Let’s consider the below example for Approximate match mode....

Left Lookup

Using INDEX and MATCH in Excel left lookup can be performed but to make it simple and quick you can also use the XLOOKUP function. This XLOOKUP function is used to search the values which are on the left side of the searched values....

Multiple Values

Follow the below steps to look up the values of the entire row:...

Nested XLOOKUP function

Follow the below steps to use nested XLOOKUP functions:...

Not Found

Follow the below steps when the LOOKUP function returns the Not Found message:...

SUM function

Follow the below steps to find the sum of a range:...

Horizontal Lookup

Step 1: Format your data....

Last Match

By default, the XLOOKUP Function performs a top-to-bottom search. But if the user wants to change this order and search for the bottom to top then the formula should be: =XLOOKUP(Search for the value, in this range, return the output from this range, -1)...

FAQs on XLOOKUP Function in Excel

Q1: Why XLOOKUP formula is better?...