Find the right row.

Practice four exact matches. Retrieve a price, find a shift owner, search left from a name and handle a missing key.

Price a product code

In B7, look up SKU M20 in column A and return its price from column B.

Target result 32
B7
Price a product code · source data
#ABC
1SKUPriceUnits
2P1418.7512
3C084.58
4M20325
5B117.2514
6T03123
7ResultYour answer

Need a hint?
Enter the search key, the column to search and the column to return, in that order.
Show reference answer
Enter in B7=XLOOKUP("M20",A2:A6,B2:B6)

Lookup drills

0 of 4 complete
XLOOKUPPrice a product codePractice XLOOKUP
INDEX + MATCHFind Thursday’s ownerPractice INDEX + MATCH
INDEX + MATCHFind a region from a repPractice INDEX + MATCH
XLOOKUPHandle a missing catalog entryPractice XLOOKUP

Worked example

With M20 in A4 and 32 in B4, =XLOOKUP("M20",A2:A6,B2:B6) returns 32. Each key is unique. For a reverse lookup, pair INDEX with MATCH using 0 for an exact match.