0
0
Excelspreadsheet~10 mins

Why lookups connect related data in Excel - Formula Trace Breakdown

Choose your learning style9 modes available
Sample Data

This data shows a product list with IDs, names, and prices in columns A-C. Columns E-F show orders with product IDs and quantities. We want to connect orders to product names and calculate total prices using lookups.

CellValue
A1Product ID
B1Product Name
C1Price
A2101
B2Apple
C20.5
A3102
B3Banana
C30.3
A4103
B4Cherry
C40.2
E1Order Product ID
F1Order Quantity
G1Product Name
H1Total Price
E2102
F210
E3101
F35
E4103
F420
Formula Trace
=VLOOKUP(E2, A2:C4, 2, FALSE)
Step 1: VLOOKUP(102, A2:C4, 2, FALSE)
Step 2: Found 102 in A3
Step 3: Return value from 2nd column in row 3 (B3)
Cell Reference Map
    A       B         C       D       E       F       G       H
1 |Product ID|Product Name|Price |       |Order Product ID|Order Quantity|Product Name|Total Price
2 |101      |Apple      |0.5   |       |102    |10     |        |     
3 |102      |Banana     |0.3   |       |101    |5      |        |     
4 |103      |Cherry     |0.2   |       |103    |20     |        |     
The formula looks up the Order Product ID in column E (e.g., E2=102) and searches for it in the Product ID column A2:A4. It then returns the matching Product Name from column B.
Result
    E       F       G         H
1 |Order Product ID|Order Quantity|Product Name|Total Price
2 |102     |10     |Banana    |     
3 |101     |5      |Apple     |     
4 |103     |20     |Cherry    |     
The VLOOKUP formula in G2 returns 'Banana' because it finds 102 in the product list and gets the matching name. This connects the order data to product details.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the VLOOKUP formula look for first?
AThe Order Product ID in the product list's first column
BThe product price in column C
CThe quantity ordered
DThe product name in column B
Key Result
VLOOKUP searches the first column of a range for a value and returns a related value from a specified column in the same row.