Sub topic 1
Why sensitivity tables matter
A financial model returns one answer for one set of assumptions. Those assumptions are estimates, so the single answer is only as reliable as the least certain input. Sensitivity analysis shows how much the output moves when you change the inputs. This chapter explains what a sensitivity table shows, why it is worth building, and what Excel's data table feature does to produce one. The later chapters build the tables step by step.
Prerequisites
This chapter assumes you already have the following:
- Basic Excel navigation and comfortable use of cell references.
- The difference between relative and absolute references (
A1versus$A$1). - A simple model with typed inputs and a formula-driven output, such as a loan payment or a discounted cash flow (DCF).
- Familiarity with number formats, especially percentages.
You do not need to have used What-If Analysis before. The chapter gives no step-by-step instructions for the Data Table dialog. Those come in later chapters.
The problem with a single answer
Take a 30-year loan of 300,000 at 6.5% annual interest. The payment formula returns about 1,896 per month. That figure is exact given the inputs, but the inputs are not exact. The rate may be locked tomorrow at 6.0% or 7.0%. The term might be 25 years instead of 30. A single number cannot tell you whether a small change in an assumption matters a little or a lot.
Sensitivity analysis answers three practical questions:
- Which inputs matter? If a 1 percentage point change in one input moves the output by 20% and the same change in another moves it by 1%, you should spend your effort on the first.
- How wide is the plausible range? A decision that holds across the whole range of reasonable assumptions is safer than one that holds only at the base case.
- Where does the decision flip? Many decisions have a threshold, such as a payment you can afford or a valuation below which a deal fails. A sensitivity table shows how close the base case sits to that threshold.
What a sensitivity table shows
A sensitivity table is a grid of outputs. Each cell holds the model's result for one combination of input values. One-variable tables vary a single input. Two-variable tables vary two inputs, with one along the top and one down the side.
Here is a one-variable example. The loan model is recalculated at five interest rates, with the amount and term held constant.
| Annual rate | Monthly payment (approx.) | Change from base |
|---|---|---|
| 4.5% | 1,520 | -376 |
| 5.5% | 1,703 | -193 |
| 6.5% (base) | 1,896 | 0 |
| 7.5% | 2,098 | +202 |
| 8.5% | 2,307 | +411 |
Three things are visible in this table that the single 1,896 figure hides:
- The relationship is not linear. Each step up in rate adds slightly more payment than the step before (+202, then +209).
- The effect is large. Two percentage points in either direction moves the payment by roughly 400 a month.
- The base case is one row among several, so you can see its neighbors.
Choosing the step sizes and range is a modeling judgment. Steps that are too small make the grid look flat. A range that is too wide includes scenarios nobody believes. A common habit is to center the grid on the base case and use symmetric steps, so the middle value matches the model. A later chapter turns that habit into a formal check.
Where sensitivity analysis fits in the modeling process
A model has three layers: inputs (assumptions you type), calculations (formulas that transform them), and outputs (the results you care about). Sensitivity analysis works by changing the inputs and observing the output. It does not change the model's logic.
This structure explains a rule that causes many mistakes later. The table can only vary values that really feed the output. If an input is disconnected from the output formula, the table has nothing to react to and shows the same number everywhere.
Doing it by hand, and why that does not scale
You can build a sensitivity table without any special feature. Change the rate cell, read the result, type it into a list, change the rate again, and repeat. The loan model is small enough that this takes a minute.
B1: 300000 (Loan amount)
B2: 0.065 (Annual interest rate)
B3: 30 (Term in years)
B4: =PMT(B2/12, B3*12, -B1) (Monthly payment, the output)Doing this by hand has three problems:
- It is slow. A two-variable grid of 5 rates by 5 terms needs 25 separate runs.
- It goes stale. Pasted results do not update when an assumption elsewhere in the model changes. A table that looks authoritative but reflects last week's inputs is worse than no table.
- It invites error. You must remember to reset the input after each run, and one typo in a pasted value is hard to find.
Another approach is to rewrite the output as a formula in each cell of the grid. That works for something as small as PMT, since each cell can call PMT directly with its own rate and term. It breaks down when the output depends on a long chain of calculations, such as a DCF spread over several sheets. You would be duplicating the whole model inside each cell.
What a data table does
A data table is Excel's built-in way to automate the by-hand process. You give it a list of test values and tell it which input cell to replace. For each test value, Excel substitutes the value into the input cell, recalculates the whole model, reads the output, and puts the result in the grid. Then it restores the original input.
The key points are:
- The grid is live. When the model changes, the table recalculates, so it cannot silently go stale in the way pasted values do.
- The model's real formulas are used, so the table reflects the actual logic and not a copy of it.
- The table does not alter the input cell permanently. The input keeps its real value, and the substitution happens only during the table's calculation.
The feature lives under Data > What-If Analysis > Data Table. Excel records the result as a special array formula called TABLE. Later chapters cover how to set up the dialog, what the input cells must be, and why the formula cannot be edited cell by cell. For now, the idea to hold is that a data table is a loop: substitute, recalculate, record, repeat.
What sensitivity tables do not tell you
A sensitivity table is useful but limited. Keep these limits in mind when you read one:
- It varies inputs independently. In a one-variable table, everything else is frozen. In reality, inputs move together. A rise in interest rates may come with a fall in growth. A grid of rate against term does not capture that correlation.
- It has no probabilities. Every cell looks equally likely. The table cannot say that the corner at 8.5% is a one-in-fifty case. Monte Carlo simulation addresses that, and it is a different tool.
- The ranges are your choice. A table with a narrow range makes a risky model look stable. The table shows only what you asked it to show.
- It is only as good as the model. If the formula is wrong, the table reports the wrong answers across the whole grid, quickly and consistently.
How the rest of the tutorial builds on this
This tutorial follows a progression. First you structure the model so that one output cell depends on clearly separated inputs. Then you learn the mechanics of the data table and its input cell rules. You build one-variable and two-variable tables, verify them against the base case, and format them so the pattern is readable. After that come the practical topics: the TABLE formula, recalculation modes, an applied valuation example, common errors, performance, and alternatives such as Scenario Manager and Goal Seek.
A good habit to start now is to treat every table as a claim about your model that you can check. Each grid should have a base case you can identify, and that base case should equal the model's own output. If it does not, something is wrong before you have read a single number from the table.
Exercise
A colleague pastes a grid of loan payments at five interest rates into a report. The values came from changing the rate cell by hand and copying each result. Name two specific risks of this approach compared with a data table, and one limit that a data table shares with it.
Show answer
Risks of the pasted grid: (1) it goes stale, because the pasted values do not update when other assumptions in the model change, and (2) it invites manual error, since each run requires resetting the input and copying values correctly. Shared limit: both vary one input at a time while holding the others fixed, so neither captures inputs that move together, and neither assigns probabilities to the outcomes.
Exercise
In the loan table in this chapter, the payment rises by 202 when the rate moves from 6.5% to 7.5%, and by 209 when it moves from 7.5% to 8.5%. What does this tell you about the relationship between rate and payment, and why would a single output value not reveal it?
Show answer
The relationship is non-linear: each equal step in rate adds a slightly larger amount to the payment. A single output value is one point on the curve. It shows nothing about how the output changes as the input moves, so you need several input values and their outputs to see the shape.