Excel function · Lookup

XLOOKUP function

Finds a match and returns a value from another range.

Example formula

=XLOOKUP(E2,A2:A5,B2:B5,"Not found")

Finds a match and returns a value from another range. The values and ranges in this example are placeholders you can replace with your own worksheet references.

Practice the function

Start with a related task guide to see actual sample data, then try the formula in Excel. The browser lab implements a subset of Excel functions, so check its supported list before testing here.

Guided exerciseAll functions