0
0
Excelspreadsheet~10 mins

Getting data from sources in Excel - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data shows a product list with prices in columns A and B. Columns D and E replicate the same data as a separate source. Cells G1 and G2 are for looking up a product price from the source data.

CellValue
A1Product
B1Price
A2Apple
B21.2
A3Banana
B30.5
A4Cherry
B42
D1Product
E1Price
D2Apple
E21.2
D3Banana
E30.5
D4Cherry
E42
G1Lookup Product
G2Banana
H1Price from Source
H2
Formula Trace
=VLOOKUP(G2, D2:E4, 2, FALSE)
Step 1: VLOOKUP("Banana", D2:E4, 2, FALSE)
Step 2: Found "Banana" in cell D3
Step 3: Return value from 2nd column in row 3
Step 4: Final result
Cell Reference Map
    D       E       G       H
1 |Product| Price |Lookup |Price  
2 |Apple  | 1.2   |Banana |       
3 |Banana | 0.5   |       |       
4 |Cherry | 2.0   |       |       
The formula looks up the value in G2 (Banana) in the range D2:E4, which contains product names and prices.
Result
    G       H
1 |Lookup |Price  
2 |Banana | 0.5   
The formula in H2 shows the price 0.5 for Banana, fetched from the source data in columns D and E.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the formula =VLOOKUP(G2, D2:E4, 2, FALSE) do?
AAdds all prices in column E
BReturns the product name from G2
CFinds the price of the product named in G2 from the source data in D2:E4
DSearches for the price in column B
Key Result
VLOOKUP looks for a value in the first column of a range and returns a value from a specified column in the same row.