Cellgrids Cellgrids
Home › Practice questions › VLOOKUP › Question 7

Excel VLOOKUP Practice Question: Find the total amount for each order (quantity times the unit price from the…

By Rinkesh Shah, founder of Cellgrids.

The question

Find the total amount for each order (quantity times the unit price from the price list in E2:F5) and put it in C2 and C3.

The data

ABCDEF
1ProductQtyTotalProductPrice
2Pen10?Pen12
3Bag3?Bag640
4Book85
5Marker25

The yellow cells are where your answer goes.

Show answer

Expected results:

  • C2 = 120
  • C3 = 1920

How it works

Explanation: VLOOKUP returns a value, so you can multiply it like any number. This is a very common billing formula.
Syntax: =B2*VLOOKUP(A2,$E$2:$F$5,2,FALSE)
Pen: 10 x 12 = 120. Bag: 3 x 640 = 1920.

Try it yourself in the live sheet

Type your formula in the highlighted cell and get instant feedback. Free, no Excel install needed.

Try this question in the live sheet →

VLOOKUP syntax

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Looks up a value in the first column of a range and returns a value from another column, same row. Pulling an employee's salary into another sheet using their ID. Full VLOOKUP guide.

More VLOOKUP practice questions

All practice questions · Excel exercises · Interview prep · Cheat sheet