Skip to content

XLOOKUP

Find a row by one value, bring back another

0 of 3 done · Lesson 10 of 18

Understand

Someone drops an order number on your desk and asks which region it came from. The sheet has 8,000 rows and you are not scrolling through them. XLOOKUP finds the row for you and brings back the value you asked for.

=XLOOKUP(who to find, where to look, what to bring back, what to show instead, optional)

A worked example

=XLOOKUP(F1, A2:A9, B2:B9)
who to findwhere to lookwhat to bring backwhat to show instead

This returns Northwind

The sheet you are working with

Sheet for XLOOKUP
Row numberABCDEF
1OrderCustomerRegionAmountFind order1047
21042NorthwindOtago1250Also find1051
31043Kea LtdWaikato840  
41044HalcyonOtago2110  
51045BrightsmithAuckland560  
61046TuataraWaikato1780  
71047NorthwindOtago930  
81048PounamuNelson1420  
91049Rimu CoWaikato670