Understand and Practice the XLOOKUP Function

Reading time: 3 minutes

XLOOKUP does what VLOOKUP cannot do. It searches to the left of the reference, without counting columns. It has a built-in argument to display a message when the value is not found, so there is no need for IFERROR. If you already know VLOOKUP, this exercise shows you the difference on the same kind of catalog (see the XLOOKUP tutorial and how to search to the left).

The following exercise shows you the three strengths of XLOOKUP: a simple syntax, a message when not found, and a reverse lookup.

What you will practice in this exercise

You work on a product catalog. You answer 6 questions, one formula per question:

  • Product name from its reference (XLOOKUP with 3 arguments)
  • Category of a product (XLOOKUP)
  • Price of a product (XLOOKUP)
  • A missing reference with a message (4th argument “if not found”)
  • Reference of a product from its name (reverse lookup, to the left)
  • A missing product name with a message (reverse lookup + 4th argument)

Practice with exercises

XLOOKUP basics — Catalog
🔒 Members only

XLOOKUP basics — Catalog
Adopt XLOOKUP, the modern function that replaces VLOOKUP with a simpler syntax.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *

Understand and Practice the XLOOKUP Function

Reading time: 3 minutes

XLOOKUP does what VLOOKUP cannot do. It searches to the left of the reference, without counting columns. It has a built-in argument to display a message when the value is not found, so there is no need for IFERROR. If you already know VLOOKUP, this exercise shows you the difference on the same kind of catalog (see the XLOOKUP tutorial and how to search to the left).

The following exercise shows you the three strengths of XLOOKUP: a simple syntax, a message when not found, and a reverse lookup.

What you will practice in this exercise

You work on a product catalog. You answer 6 questions, one formula per question:

  • Product name from its reference (XLOOKUP with 3 arguments)
  • Category of a product (XLOOKUP)
  • Price of a product (XLOOKUP)
  • A missing reference with a message (4th argument “if not found”)
  • Reference of a product from its name (reverse lookup, to the left)
  • A missing product name with a message (reverse lookup + 4th argument)

Practice with exercises

XLOOKUP basics — Catalog
🔒 Members only

XLOOKUP basics — Catalog
Adopt XLOOKUP, the modern function that replaces VLOOKUP with a simpler syntax.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *