Lookup Functions
Intermediate

VLOOKUP inside a calculation

Look the price up and multiply by the quantity in the same formula.

Task:

The order form has quantities but no prices. In C2:C6 give each line's total — quantity times the unit price from the price list in E2:F6 — in one formula per line.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

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.

6 rows × 6 columns5 cells you fill in
ABCDEF
1ItemQtyLine totalItemUnit price
2Notepad12Stapler7.5
3Stapler2Notepad1.2
4Toner3Ring binder2.8
5Ring binder10Toner46
6Notepad30Paper clips0.9
What this exercise teachesMay contain the answer

A lookup is just a value once it returns, so it can sit inside arithmetic. Doing it in one cell avoids a helper column of prices that someone later overtypes — the total always reads the current list.