Confident CellsExcel practice Start free
Unit 5 of 9

Excel lookup functions: lessons and a project

For anyone who has to match a code or a name against another list: prices, staff details, grades. You'll use VLOOKUP, then XLOOKUP and INDEX with MATCH, which can look left, and approximate match for bands such as delivery charges. By the end you'll have built an order form that fills in each item's description and price from its code.

9 lessons43 exercises27 Check questions1 free lessona project in Excel3 suggested CPD hours

Try one now

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

The lessons

Each lesson starts with a short worked example, then exercises on real-looking data, marked the moment you press Check, with hints when you need them. It ends with a Check: new questions on fresh data, with no hints. Pass it and the lesson is marked Secure.

  1. VLOOKUP Free
    Pulling information from another table · 4 exercises · a Check of 3 questions · guide: VLOOKUP
  2. Bands and approximate match Pro
    VLOOKUP with TRUE, XLOOKUP match mode -1 · 4 exercises · a Check of 3 questions
  3. XLOOKUP and INDEX/MATCH Pro
    Modern lookups that can look left · 4 exercises · a Check of 3 questions · guide: XLOOKUP
  4. Stock and ordering Pro
    Stock value, reorder flags, whole packs, SUMIF, weeks left · 5 exercises · a Check of 3 questions
  5. Review: lookups Pro
    VLOOKUP, HLOOKUP, XLOOKUP, INDEX, MATCH · 7 exercises · a Check of 3 questions

Extra practice

Useful, but not needed for the project.

The project in Excel: Stationery order form

Part of Pro

Turn a supplier catalogue into an order form that fills itself in.

What you'll build:

  • Descriptions and prices looked up from codes
  • A delivery charge from the order value band
  • Reorder flags from stock levels
  • A friendly message for a code that isn't found

Download the workbook and do the job in Excel. A Check sheet in the workbook ticks off each task as you get it right, and the model answers are there to compare with when you've finished. You'll need Excel 2019 or later, or Excel for the web, which is free with a Microsoft account.

See the project

Counts towards a certificate

Unit 5 is part of the Excel Intermediate certificate of achievement (Units 4 to 6, 9 hours of suggested CPD). To earn it, pass the Check in every lesson of those units while signed in (reviews and extra practice aren't needed), and finish each unit's project in Excel. Our server checks the work itself. Certificates come with Pro: see how they work.

Online practice and assessment, completed without supervision. Confident Cells is independent and isn’t connected with Microsoft. This is not a formal qualification.

Guides for this topic

Questions

VLOOKUP or XLOOKUP?

If everyone who uses the file has Microsoft 365 or Excel 2021 or later, XLOOKUP. It can look left, needs no column number, and still works when someone inserts a column. VLOOKUP works in every version and you'll meet it in other people's files, so it's worth knowing too. INDEX with MATCH does what XLOOKUP does in older Excel.

Why do I get #N/A?

The lookup didn't find a match. The usual causes are an extra space after a name, a number stored as text in one list, a table that slid down when the formula was copied, and a VLOOKUP without FALSE on the end. The #N/A guide goes through each one.

Getting ready for a job test? Take the free Excel test: 12 questions in 20 minutes, marked as you go. Every other test is in the Test Centre.