Lookup Functions
Advanced

Capstone: price a quote from the rate card

Two lookups, and one SKU that is not in the list.

Task:

Sales sent three SKUs to price. In column F return the price for each from the rate card, showing Not listed when a SKU is not there. In column G return the product name for the two that do exist.

Learning Objectives:

  • Handle a missing lookup value
  • Anchor a lookup table with $
  • Build INDEX/MATCH from its two halves
Hints

Solve without hints for +5 XP

Interactive Spreadsheet

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

ABCDEFG
1Rate cardQuote
2SKUProductPriceSKUPriceProduct
3SKU-100Chair149SKU-220
4SKU-150Desk299SKU-100
5SKU-220Lamp79SKU-999
6SKU-300Shelf120
What this exercise teaches (contains the answer)

XLOOKUP has a not-found argument built in, which is why it has largely replaced VLOOKUP wrapped in IFERROR. INDEX/MATCH is here to show the other half of the idea: MATCH answers where, INDEX answers what, and separating the two is what lets you look leftwards — something VLOOKUP cannot do at all.