Sub topic 14
When to use something other than a data table
This chapter assumes you can build one-variable and two-variable data tables, know the same-sheet input rule, and understand the TABLE array formula and the "Automatic except for Data Tables" setting. Data tables are the standard tool for sensitivity grids, but they are not the right tool for every question. Here you will learn what each alternative does well, where it fails, and how to choose.
What a data table is good at
A data table varies one or two inputs across a list of values and records one output for each combination. It is the right choice when:
- You want a grid or a column of results for a single output.
- The inputs you vary are numeric and can be listed in advance.
- You want the results to update live when the model changes.
- The output is a single cell that depends on the input cells through ordinary formulas.
The limits follow from the same description. A data table varies at most two inputs. It reports one output per table (a one-variable table can report several outputs, but each one is a separate column). It must live on the same sheet as its input cells. It slows recalculation in large models. The alternatives below address one or more of these limits.
Scenario Manager
Scenario Manager (Data > What-If Analysis > Scenario Manager) stores named sets of input values, such as "Base", "Upside" and "Downside". You pick a scenario and Excel writes those values into the changing cells.
Use it when:
- You need to change many inputs at once (for example growth, margin, capex and working capital together), which a two-variable table cannot do.
- The combinations are a small set of coherent stories rather than a grid of independent values.
Its weaknesses matter in practice:
- Applying a scenario overwrites the input cells. If you forget which scenario is active, the model silently shows the wrong case.
- Results are not live. The Summary report is a static snapshot that does not update when you change the model.
- Changing cells must be on the active sheet, and the dialog limits you to 32 changing cells.
- The scenario values are hidden inside the dialog, so reviewers cannot audit them at a glance.
A common and more transparent substitute is a scenario selector in the model itself. You put the scenarios in a visible table, add one cell that holds the scenario number, and use CHOOSE or INDEX to feed the live inputs.
A1: Scenario selector (1=Base, 2=Upside, 3=Downside)
B1: 1
A3: Revenue growth B3: 0.05 C3: 0.08 D3: 0.02
B6 (live input): =INDEX(B3:D3, $B$1)Because the selector is an ordinary input cell, you can also use it as the column input cell of a one-variable data table. Fill a column with 1, 2, 3, point the column input cell at B1, and the table returns the output for every scenario side by side. This combines both tools: the scenario table holds the coherent stories, and the data table reports them all at once.
Goal Seek
Goal Seek (Data > What-If Analysis > Goal Seek) works backward. You name an output cell, a target value, and one input cell to change. Excel adjusts that input until the output reaches the target.
Use it when the question is "what input gives me this result?" Examples: the interest rate at which the payment equals 1,900, or the terminal growth rate at which the enterprise value equals the offer price.
Set cell: B4 (monthly payment)
To value: 1900
By changing cell: B2 (interest rate)Its limits:
- It solves for one input and one target. Solutions are approximate, found by iteration.
- It is a one-time action. The answer is a typed value left in the input cell, and it does not update when other assumptions change. Run it again after any change.
- It overwrites the input. Record the original value first.
- If the output is not monotonic in the input, or the starting point is poor, it can stop on a non-answer or fail to converge.
A data table can help you use Goal Seek well. Build a one-variable table first to see roughly where the target is crossed, then run Goal Seek from a nearby starting value.
When you need several constraints or several changing cells, such as minimizing cost subject to limits, the next tool in the family is Solver, an add-in. It is outside the scope of this chapter, but it is the usual step up from Goal Seek.
Direct formulas
Sometimes you do not need the data table mechanism at all. If the output can be written as a closed-form formula of the inputs, put that formula in each grid cell, using the row and column headers as references.
For the loan example, the payment is a direct function of rate, term and amount:
E3: =PMT($D3/12, E$2*12, -$B$1)Fill this across E3:I7. Each cell reads its rate from column D and its term from row 2.
Advantages over a data table:
- No same-sheet restriction. The grid can sit on a report sheet.
- No TABLE array formula, so you can edit single cells and the grid recalculates under normal rules, regardless of the data table calculation setting.
- It is fast, because each cell computes only its own formula and does not recalculate the whole model.
- Every cell is auditable with Trace Precedents.
The cost is duplication. The grid formula is a second copy of the model logic. If you later change how the model computes the payment (say, adding a balloon payment), the grid does not follow unless you edit it too. The base case check from earlier chapters becomes essential: the grid cell matching the current inputs must equal the model output.
Direct formulas suit short, closed-form calculations such as PMT, NPV on a fixed cash flow row, or a Gordon growth terminal value. They are a poor fit for a full DCF where the output depends on dozens of linked rows, because you would have to rebuild the entire calculation in every cell.
Comparing the tools
| Tool | Inputs varied | Result type | Live updates | Main risk |
|---|---|---|---|---|
| Data table | 1 or 2 | Grid of one output (or several columns) | Yes | Slow recalculation, same-sheet inputs |
| Scenario Manager | Up to 32 | One scenario at a time, or a static summary | No | Overwrites inputs, hidden values |
| Scenario selector with INDEX | Any number | One scenario at a time | Yes | Needs deliberate model design |
| Goal Seek | 1 | A single solved input | No | Stale answer, overwrites input |
| Direct formulas | Any that appear in the formula | Grid or list | Yes | Duplicated logic can drift from the model |
Choosing a tool
Apply these questions in order.
- Are you solving for an input? Use Goal Seek.
- Do you need to move more than two inputs at once? Use a scenario selector, and optionally a data table over the selector.
- Is the output a simple formula, or is recalculation speed a problem? Use direct formulas.
- Otherwise, with one or two inputs on the model sheet, use a data table.
Failure modes when you pick the wrong tool
- A data table for a 5-input question. You build several two-variable tables that each hold the other inputs at base values. Interactions between the other inputs are invisible. A scenario selector shows combined effects.
- Goal Seek left as a hardcode. A typed solved value sits in an input cell. A colleague changes revenue and the model still shows the old breakeven. Label solved inputs or move the question into a data table that is visibly live.
- Scenario Manager as the only record. The scenario values live in a dialog, not on the sheet. Rebuild them as a visible table.
- Direct formulas that drift. The model changes but the grid formula does not. The base case check catches this, so keep it next to the grid.
- A slow model with many data tables. If recalculation takes seconds after each edit, consider setting calculation to "Automatic except for Data Tables", or replace the simplest tables with direct formulas.
Worked comparison
Suppose a valuation model has WACC, terminal growth, revenue growth, EBITDA margin and exit multiple as inputs, and the question is "what is enterprise value under bear, base and bull views, and how sensitive is the base case to WACC and growth?"
- For the bear, base and bull views, set up a selector with all five inputs per scenario, and run a one-variable data table over the selector cell with enterprise value as the output.
- For the WACC and terminal growth sensitivity, use a two-variable data table on the selected scenario.
- For "what WACC makes enterprise value equal the offer price?", run Goal Seek once and record the answer as a note, not as an input.
Three tools answer three different questions on the same model, and none of them replaces the others.
Exercise
A colleague needs to know what interest rate makes the monthly payment on a 300,000 loan equal 1,900, and wants the answer to stay correct if the loan amount changes later. Which tool do you choose, and what is the catch?
Show answer
Goal Seek answers the question, because you are solving for an input. The catch is that its result is a typed value that does not update when the loan amount changes, so it must be rerun. To keep it live, build a one-variable data table of payments across a range of rates, or use the RATE function directly, which is a formula and updates automatically.
Exercise
You need enterprise value for three coherent scenarios, each changing five inputs, shown side by side and updating live. How do you build it?
Show answer
Put the three scenarios in a visible table. Add a selector cell and feed each live input with INDEX on the selector. Then build a one-variable data table whose input values are 1, 2 and 3, with the selector cell as the column input cell and enterprise value as the output formula. The selector must be on the same sheet as the data table.