Skip to content
SheetFluent

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(E2,A2:C20,3,FALSE) 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.

Start practicing

Lessons in this topic

  1. 1
    Find a value with VLOOKUP

    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.

    About 5 minutes
  2. 2
    Look up bands with VLOOKUP

    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.

    PlusAbout 5 minutes
  3. 3
    Look up in any direction with XLOOKUP

    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.

    PlusAbout 5 minutes
  4. 4
    Look up with INDEX and MATCH

    Combine INDEX and MATCH to look up a value in any direction. It works in every version of Excel and in Google Sheets.

    PlusAbout 6 minutes
  5. 5
    Practice choosing a lookup

    Mixed lookup practice: exact matches, bands, looking left and missing values. Pick VLOOKUP, XLOOKUP or INDEX and MATCH for each.

    PlusAbout 6 minutes
  6. 6
    Look across a row with HLOOKUP

    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.

    PlusAbout 5 minutes

Next topic: Text and cleaning