0
0
Google Sheetsspreadsheet~10 mins

Named ranges in Google Sheets - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This sheet lists products and their prices in columns A and B. Column D shows quantities bought. The named range 'Prices' refers to B2:B4.

CellValue
A1Product
A2Apple
A3Banana
A4Cherry
B1Price
B21.2
B30.5
B42.0
D1Quantity
D23
D35
D42
Formula Trace
=SUMPRODUCT(Prices, D2:D4)
Step 1: Prices
Step 2: D2:D4
Step 3: SUMPRODUCT([1.2, 0.5, 2.0], [3, 5, 2])
Cell Reference Map
    A       B       C       D
1 |Product| Price |       |Quantity
2 | Apple |  1.2  |       |   3    
3 |Banana |  0.5  |       |   5    
4 |Cherry |  2.0  |       |   2    

Named Range 'Prices' -> B2:B4
Formula references 'Prices' and D2:D4
The formula uses the named range 'Prices' which points to B2:B4 and the range D2:D4 for quantities.
Result
    A       B       C       D       E
1 |Product| Price |       |Quantity| 
2 | Apple |  1.2  |       |   3    | 
3 |Banana |  0.5  |       |   5    | 
4 |Cherry |  2.0  |       |   2    | 
5 |       |       |       |        | 10.1

Cell E5 shows the formula result: 10.1
The total cost calculated by the formula =SUMPRODUCT(Prices, D2:D4) is 10.1, shown in cell E5.
Sheet Trace Quiz - 3 Questions
Test your understanding
What cells does the named range 'Prices' refer to?
AA2:A4
BD2:D4
CB2:B4
DB1:B3
Key Result
Named ranges can be used in formulas like ranges; here SUMPRODUCT multiplies corresponding elements and sums them.