Premium exercise · Excel lookup functions
XLOOKUP practice: employee email
Practice Excel XLOOKUP by returning an employee's email from a short staff list using an exact name.
A2:A4 lists names and B2:B4 lists emails. D2 is the person to look up.
In E2, use XLOOKUP to return that person's email.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C | D | E |
|---|---|---|---|---|---|
| 1 | Name | Find | |||
| 2 | Ada | ada@example.com | Cara | Formula goes in E2. formula | |
| 3 | Ben | ben@example.com | |||
| 4 | Cara | cara@example.com |
Hint
XLOOKUP needs the value to find, the column to search, and the column to return.
Explanation
This exercise practices XLOOKUP in Excel. The formula goes in E2.
XLOOKUP matches Cara in the name column and returns cara@example.com from the email column on the same row. The return column does not have to sit to the right of the search column.
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.