12.2 What-If Analysis: Goal Seek & Scenario Manager
Key Takeaways
- Goal Seek and Scenario Manager both sit under Data > Forecast > What-If Analysis, alongside Data Table.
- Goal Seek requires a formula in Set cell, a literal typed number in To value, and a constant in By changing cell that is a direct or indirect precedent of the Set cell formula.
- Goal Seek is an iterative approximation governed by the Maximum Iterations (default 100) and Maximum Change (default 0.001) settings under File > Options > Formulas, and it adjusts exactly one cell — multi-variable problems need Solver.
- Microsoft caps a single scenario at 32 changing cells while placing no limit on the number of scenarios; a Scenario PivotTable report requires result cells, whereas a Scenario summary report does not.
- Scenario reports are snapshots that never refresh, and applying a scenario to a cell containing a formula overwrites that formula with a constant.
What-If Analysis: Goal Seek & Scenario Manager
Financial models are usually built to answer the forward question: given these inputs, what is the result? Objective 3.4 requires the reverse and the parallel. Goal Seek runs the model backwards — you name the answer you need and Excel finds the input that produces it. Scenario Manager runs the model sideways — you store several complete input sets and switch between them on demand. Both live in the same menu:
Data tab ▸ Forecast group ▸ What-If Analysis ▾
Scenario Manager...
Goal Seek...
Data Table...
Goal Seek: Solving Backwards for One Input
Goal Seek answers questions shaped like "what unit price gets me to a $2,000,000 gross margin?" It repeatedly substitutes trial values into one input cell until the formula cell reaches the target.
┌─ Goal Seek ──────────────────────────┐
│ Set cell: [ $D$14 ] ◄── must contain a FORMULA
│ To value: [ 2000000 ] ◄── must be a typed NUMBER
│ By changing cell: [ $B$4 ] ◄── must contain a CONSTANT
└──────────────────────────────────────┘
The Three Rules That Govern Every Field
| Field | Hard requirement | What happens if you break it |
|---|---|---|
| Set cell | Must contain a formula | Excel rejects the entry: a constant has nothing to solve |
| To value | Must be a literal number typed into the box | A cell reference such as F2 is not accepted |
| By changing cell | Must contain a constant, and must be a precedent of the Set cell formula | Excel reports that the changing cell must be dependent on the Set cell formula |
The changing cell may be an indirect precedent — Goal Seek follows the whole dependency chain, so an input three formulas upstream is still valid.
How the Solution Is Found
Goal Seek is an iterative numerical approximation, not an algebraic solve. It converges under the same two controls that govern circular-reference iteration, set at File > Options > Formulas:
- Maximum Iterations — default
100 - Maximum Change — default
0.001
When the model has no solution, several solutions, or a discontinuity, the status dialog reports that Goal Seek "may not have found a solution." Tightening Maximum Change and raising Maximum Iterations improves precision on stubborn models at the cost of speed.
Committing or Discarding the Result
Goal Seek writes its answer straight into the changing cell — the original input is gone from the sheet the moment the search finishes.
| Action in the Goal Seek Status dialog | Result |
|---|---|
| OK | The solved value is kept permanently in the changing cell |
| Cancel | The original input value is restored |
Copy the baseline input to a scratch cell before running Goal Seek on a live model; Ctrl+Z works, but only until the next recalculation-heavy edit.
Scope Limits
Goal Seek adjusts exactly one cell. Multi-variable optimisation, constrained targets, and integer requirements need the Solver add-in (File > Options > Add-ins > Excel Add-ins > Solver Add-in), not Goal Seek.
Scenario Manager: Storing Complete Input Sets
Where Goal Seek changes one cell, a scenario stores an entire named combination of inputs — Best Case, Base Case, Recession — and applies them all at once.
Building a Scenario
Data > What-If Analysis > Scenario Manager > Add...- Scenario name: a descriptive label such as
Recession Case. - Changing cells: the input cells this scenario overrides. Hold
Ctrlto pick non-contiguous cells. Microsoft documents the ceiling precisely: "A scenario can have a maximum of 32 different values, but you can create as many scenarios as you want." - Comment: Excel pre-fills the author and date; overwrite it with the assumption rationale.
- Protection:
Prevent changesandHidetake effect only once the worksheet itself is protected viaReview > Protect Sheet. - Enter the value for each changing cell and click OK, or Add to define the next scenario immediately.
There is no limit on the number of scenarios, only on the changing cells inside one.
Applying and Reporting
| Button | Effect |
|---|---|
| Show | Pushes the selected scenario's values into the worksheet and recalculates the model live |
| Edit | Reopens the definition to revise values or the changing-cell set |
| Merge | Imports scenarios from another worksheet or another open workbook |
| Summary | Generates a comparison report on a new worksheet |
The Scenario Summary dialog offers two report types and a Result cells box for the output cells you want compared:
- Scenario summary — a static, outlined table with one column per scenario plus a Current Values column reflecting whatever was on the sheet when the report was generated. Microsoft notes you do not need result cells for this report type.
- Scenario PivotTable report — a PivotTable of the same comparison. Result cells are required here.
[!NOTE] Name your changing cells and result cells before generating the report. Without defined names the summary column headings read
$B$4and$D$14; with them, they readUnit_PriceandGross_Margin.
Traps Worth Memorising
- A scenario report is a snapshot. Editing the model afterwards does not refresh it — regenerate the summary.
- If a changing cell contains a formula, applying a scenario overwrites that formula with a constant. Restrict changing cells to hard-coded inputs.
Mergeonly sees workbooks that are currently open, and the merged scenarios must reference the same changing cells to be meaningful.
An analyst opens Goal Seek to find the unit price that yields a $2,000,000 gross margin. Gross margin sits in D14 as a formula, and the analyst points "By changing cell" at B4, which contains =B3*1.05. Excel refuses the request. What is the reason?
A modeller is building Best Case, Base Case, and Recession scenarios for a budget that has 40 distinct input cells. What constraint will they encounter, and how is Scenario Manager designed to be used here?
After generating a Scenario Summary, an analyst revises several assumptions in the model and reopens the report worksheet, expecting the comparison columns to reflect the new figures. They have not changed. What is the correct explanation?