The Advanced XLOOKUP Function

Uploaded time: May 12, 2022 Difficulty Beginner

A free Office suite fully compatible with Microsoft Office

Free Download

The Advanced XLOOKUP Function

The Advanced XLOOKUP Function

What type of lookup function are you using VLOOKUP? HLOOKUP? Or...

King of the Lookup function-XLOOKUP function is available now!

With the XLOOKUP function, you can search for a match in a range or array and return the corresponding item through the second range or array.

· The powerful lookup function

Suppose we want to look up Rico's department.

Enter=XLOOKUP, and press the TAB key.

We need to answer three questions for mandatory arguments.

1, what is the keyword for lookup values?Enter Rico followed with a comma.

2, where do we want to search?Select the Name column, and then enter a comma.

3, what to return: the Department column.Press the Enter key. XLOOKUP will update the lookup value if we change the name.

We just find the row of Rico. How can we get her sales in March?

Enter XLOOKUP and enter the lookup value: March.

Enter the lookup array, which is the header row.

Enter the returned array.

Finally, press the Enter key to get the answer.

· Specify the error value

XLOOKUP can return a specified content for a lookup failure.

Take this employee sheet as an example.

Enter a comma after the three required arguments, and specify the contents for the missing value.

Enclose the contents in double-quotes.

Thus, you can return to text values if the lookup value is not found.

· Flexible match modes

XLOOKUP can perform both the exact match and appropriate match. Let's look at four-match codes:

Here's a list of employee performances with scores. Suppose we want to rate them by scores.

The rules on the right side have specified the rating rules.

90-100 is A, 80-89 is B, and so on.

Enter XLOOKUP's fifth argument, and we will match the proper grade for all workers.

The value in the Minimum column corresponds to the minimum value of the score range. So we enter -1 as the match mode.

1.Enter =XLOOKUP and press the Tab key.

2. In the first parameter, select cell E4 which contains the score.

3. Select the minimal range H4:H8 as the lookup range in the second argument. Hit F4 to make the range absolute cells.

4. The third parameter will return the grade range J4:J8. Press F4 to make them absolute cells.

5. The fourth parameter is the specified contents for errors. We choose to skip it in this case.

6. The fifth parameter is the match mode. We enter -1 here.

· Wildcardmatching

Wildcard matching can recognize the symbols * ? and ~   

If we simply enter the first two letters of the department, can wildcards replace the remaining letters and look up the corresponding name?   Let's enter the parameters quickly.

· The practical search mode

Take this employee sheet as an example. Suppose we want to find who checked in on February 4th.

1. Enter =XLOOKUP and press the Tab key.

2. Enter the three necessary arguments.

Clive is returned because he ranks first in this table that enrolled on February 4th.

What if we want to know who the last one that enrolled on the 4th of February is?

Enter three commas in a row, and enter -1 at Search_mode to search from last to first.

This is all about the XLOOKUP function. Did you get it?