FxFormula Drills

Premium exercise · Excel lookup functions

XLOOKUP practice: a missing match

Practice Excel XLOOKUP's if-not-found argument by returning Not found when a name is missing from the list.

A2:B4 is the same kind of staff list. D2 is a name that is not on it.

In E2, use XLOOKUP and supply a result for a missing match. Return the text Not found instead of an error.

Dataset

Starter sheet. Cells marked formula are where the formula goes.

Starter sheet for this exercise
RowABCDE
1NameEmailFindEmail
2Adaada@example.comDrewFormula goes in E2. formula
3Benben@example.com
4Caracara@example.com

Hint

The fourth argument of XLOOKUP is what to return when the lookup value is missing.

Explanation

This exercise practices XLOOKUP in Excel. The formula goes in E2.

XLOOKUP does not find Drew, so it returns the fourth argument instead of #N/A. That argument is the text Not found. Leave it out and the cell would show an error.

The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.

Solve this exercise

Practice this formula

Loading the practice grid…