WHAT-IF Analysis - Goal Seek - Data Table
WHAT-IF Analysis - Goal Seek - Data Table
WHAT-IF Analysis - Goal Seek - Data Table
What-If Analysis
What-If Analysis in Excel allows you to try out different values (scenarios) for formulas.
Assume you own a book store and have 100 books in storage. You sell a certain % for the
highest price of $50 and a certain % for the lower price of $20.
If you sell 60% for the highest price, cell D10 calculates a total profit of 60 * $50 + 40 * $20 = $3800.
4. Type a name (60% highest), select cell C4 (% sold for the highest price) for the Changing cells and
click on OK.
5. Enter the corresponding value 0.6 and click on OK again.
Finally, your Scenario Manager should be consistent with the picture below:
Note: to see the result of a scenario, select the scenario and click on the Show button. Excel will
change the value of cell C4 accordingly for you to see the corresponding result on the sheet.
2. Next, select cell D10 (total profit) for the result cell and click on OK.
Result:
Conclusion: if you sell 70% for the highest price, you obtain a total profit of $4100, if you sell
80% for the highest price, you obtain a total profit of $4400, etc. That's how easy what-if analysis in
Excel can be.
5. Click in the 'By changing cell' box and select cell C4.
6. Click OK.
Result. You need to sell 90% of the books for the highest price to obtain a total profit of exactly
$4700.
For example : Set Cell as $D$10, To Value as 4500 & By changing Cell as $C$4 then we will get
Result. You need to sell 83% of the books for the highest price to obtain a total profit of exactly
$4500.
NOTE: If you know the result you want from a formula, use Goal Seek in Excel to find the input value
that produces this formula result.
7. Click in the 'By changing cell' box and select cell B5.
8. Click OK.
6. Click in the 'To value' box and type -1500 (negative, you are paying out money).
7. Click in the 'By changing cell' box and select cell B3.
8. Click OK.
Result. A loan amount of $250,187 produces a monthly payment of $1500.
1. The formula in cell B1 calculates the square of the value in cell A1.
2. Use goal seek to find the input value that produces a formula result of 25.
4. Under Calculation options, decrease the Maximum Change value by inserting some zeros. The
default value is 0.001.
5. Click OK.
2. Use Goal Seek to find the input value that produces a formula result of +0.25.
Result. Excel can't find a solution.
3. Click Cancel.
1. Select cell B12 and type =D10 (refer to the total profit cell).
We are going to calculate the total profit if you sell 60% for the highest price, 70% for the highest
price, etc.
We select cell C4 because the percentages refer to cell C4 (% sold for the highest price). Together
with the formula in cell B12, Excel now knows that it should replace cell C4 with 60% to calculate the
total profit, replace cell C4 with 70% to calculate the total profit, etc.
Note: this is a one variable data table so we leave the Row input cell blank.
7. Click OK.
Result.
Conclusion: if you sell 60% for the highest price, you obtain a total profit of $3800, if you sell 70% for
the highest price, you obtain a total profit of $4100, etc.
XI. Two Variable Data Table
To create a two variable data table, execute the following steps.
1. Select cell A12 and type =D10 (refer to the total profit cell).
We are going to calculate the total profit for the different combinations of 'unit profit (highest price)'
and '% sold for the highest price'.
8. Click in the 'Column input cell' box (the percentages are in a column) and select cell C4.
We select cell D7 because the unit profits refer to cell D7. We select cell C4 because the percentages
refer to cell C4. Together with the formula in cell A12, Excel now knows that it should replace cell D7
with $50 and cell C4 with 60% to calculate the total profit, replace cell D7 with $50 and cell C4 with
70% to calculate the total profit, etc.
9. Click OK.
Result.
Conclusion: if you sell 60% for the highest price, at a unit profit of $50, you obtain a total profit of
$3800, if you sell 80% for the highest price, at a unit profit of $60, you obtain a total profit of $5200,
etc.
Note: the formula bar indicates that the cells contain an array formula. Therefore, you cannot delete
a single result. To delete the results, select the range B13:D17 and press Delete.