0
0
Excelspreadsheet~10 mins

Solver for optimization in Excel - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data shows three products with their prices and quantities. Quantities start at zero. Revenue per product is price times quantity. Total Revenue sums all revenues.

CellValue
A1Product
B1Price
C1Quantity
D1Revenue
A2Apples
B22
C20
D2=B2*C2
A3Bananas
B33
C30
D3=B3*C3
A4Cherries
B45
C40
D4=B4*C4
A5Total Revenue
D5=SUM(D2:D4)
Formula Trace
=SUM(D2:D4)
Step 1: D2 = B2 * C2 = 2 * 0
Step 2: D3 = B3 * C3 = 3 * 0
Step 3: D4 = B4 * C4 = 5 * 0
Step 4: SUM(D2:D4) = 0 + 0 + 0
Cell Reference Map
    A       B       C       D
1 |Product| Price |Quantity|Revenue
2 |Apples |   2   |   0    |  0  
3 |Bananas|   3   |   0    |  0  
4 |Cherries|  5   |   0    |  0  
5 |       |       |        | =SUM(D2:D4)
Cells B2:C4 hold prices and quantities. D2:D4 calculate revenue per product. D5 sums revenues.
Result
    A       B       C       D
1 |Product| Price |Quantity|Revenue
2 |Apples |   2   |   4    |  8  
3 |Bananas|   3   |   3    |  9  
4 |Cherries|  5   |   2    | 10  
5 |       |       |        |  27 
After Solver runs, quantities in C2:C4 are set to maximize total revenue in D5. Revenues update accordingly. Total Revenue is 27.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the formula in cell D2 calculate?
AQuantity of Bananas
BSum of all revenues
CPrice times Quantity for Apples
DPrice of Cherries
Key Result
SUM(range) adds all numbers in the specified range to get a total.