Confident CellsExcel practice Start free

Review: lookups: practice exercises

VLOOKUP, HLOOKUP, XLOOKUP, INDEX, MATCH. 7 exercises on real-looking data, each marked the moment you press Check. The first exercise is below to try now; the full lesson is part of Pro.

Your turn

In D2, look up each employee's manager using the table in H1:J5.

ABCDEFGHIJ
1Staff IDEmployeeTeamManagerOfficeTeamManagerOffice
21001GraceSalesSalesB. Reid2.03
31002TomFinanceFinanceD. Fraser1.12
41003PriyaSupportSupportA. MorganG.02
51004MarekMarketingMarketingC. Lowe3.08
61005NiaSales
71006OllieFinance
81007LucySupportStaff ID1007
91008HamzaMarketingName
101009RachelSales
111010SunilFinance
121011TanyaSupport
131012WillMarketing

How it works

Lookups from earlier lessons, on fresh data. Look at how each table is laid out before you choose: down or across, and whether the answer is left of what you're looking for.

What you'll practise

  1. In D2, look up each employee's manager using the table in H1:J5.
  2. The pay table in G1:L3 runs across, with the grades along the top. In C2, look up each person's hourly rate.
  3. In G3, find the ID of the employee named in G2. The ID is to the left of the name, which VLOOKUP can't do.
  4. Parking permits go to people in order from this waiting list. In H2, use MATCH to find the position on the list of the person named in H1.
  5. The on-call rota runs for 12 weeks. In H2, use INDEX to show who is on call in the week number typed in H1.
  6. In G9, find the office for the employee named in G8 using INDEX and MATCH.
  7. Commission is paid at a rate that depends on how much someone sold (table in G1:H5). The rate applies to all their sales. In C2, work out each person's commission: sales × their rate.