Lookup functions: VLOOKUP, XLOOKUP and INDEX MATCH
A lookup finds a value in one column, like an order number, and brings back what sits in the same row, like its status. VLOOKUP is the classic: =VLOOKUP( finds E2 in the first column and returns the value from the third.
XLOOKUP and INDEX MATCH can also look to the left, HLOOKUP looks across a row, and VLOOKUP with TRUE finds bands like commission tiers. When nothing matches, a lookup shows #N/A; the lessons show what it means and how to show a message instead.
Lessons in this topic
- 1Find a value with VLOOKUPAbout 5 minutes
Use VLOOKUP with FALSE to find an exact match in a table and bring back a value from the same row, in Excel and Google Sheets.
- 2Look up bands with VLOOKUPPlusAbout 5 minutes
Use VLOOKUP with TRUE to put a number into a band, like marks into grades or order value into a discount, in Excel and Google Sheets.
- 3Look up in any direction with XLOOKUPPlusAbout 5 minutes
Use XLOOKUP to find a value in one column and bring back the matching value from another, even to the left. Excel 2021, 365 and Google Sheets.
- 4Look up with INDEX and MATCHPlusAbout 6 minutes
Combine INDEX and MATCH to look up a value in any direction. It works in every version of Excel and in Google Sheets.
- 5Practice choosing a lookupPlusAbout 6 minutes
Mixed lookup practice: exact matches, bands, looking left and missing values. Pick VLOOKUP, XLOOKUP or INDEX and MATCH for each.
- 6Look across a row with HLOOKUPPlusAbout 5 minutes
Use HLOOKUP to look up a value in a table laid out across the sheet, then see why XLOOKUP does the same job more simply.