Sub topic 4
Input Cells: What They Must Be and Where They Must Live
Assume you know basic Excel navigation, absolute references, percentages, and how a financial model separates inputs from calculations. This chapter focuses on the rules that make a What-If Analysis data table work.
A data table changes model inputs temporarily
An input cell is a cell that holds an assumption used by your model. Examples include an interest rate, forecast period, tax rate, or WACC. A data table temporarily replaces that cell with each test value, recalculates the output, records the result, and then restores the original value.
The input cell should usually contain a hardcoded assumption, not a formula. For example:
B2: 0.065 (Annual interest rate)
B3: 30 (Term in years)
B4: =PMT(B2/12, B3*12, -B1)Here, B2 and B3 are valid driver cells because the output in B4 depends on them. If changing B2 does not change the output, a sensitivity table using B2 will appear flat.
Map the table axes to the correct cells
A one-variable table tests one input. Excel determines whether the values run across a row or down a column from the table layout.
A two-variable table tests two inputs:
- The row input cell is replaced by values across the top row.
- The column input cell is replaced by values down the left column.
For example, if years run across E2:I2 and interest rates run down D3:D7, use:
| Table location | Meaning | Model cell |
|---|---|---|
| Top row, `E2:I2` | Term values | Row input cell: `B3` |
| Left column, `D3:D7` | Interest rates | Column input cell: `B2` |
The direction is based on the table, not on the location of the model inputs. A common error is to assign B2 as the row input cell because B2 appears above B3 in the model. Excel cares about whether the test values are horizontal or vertical.
Keep input cells on the table’s worksheet
The row and column input cells must be on the same worksheet as the data table. This is a specific limitation of Excel’s Data Table feature. A model may have calculations on several worksheets, but the input cells used by the table should be located on the worksheet containing the table.
A practical layout is:
- Put the model assumptions in a clearly labeled input section.
- Put the output formula in the table’s upper-left corner.
- Put row and column test values beside and above the result grid.
- Select the complete range before choosing Data > What-If Analysis > Data Table.
The output formula must be a reference to the model’s result, such as =B4. Do not type a fixed number into the corner. A fixed number gives the table no result to recalculate.
Separate drivers from calculations
Avoid making a test cell both an assumption and a calculated result. For example, if B2 contains =B5+1%, a data table that substitutes rates into B2 can conflict with the formula that normally controls it. Use a dedicated assumption cell and let formulas elsewhere refer to it.
Input cells should also use the same units as the table headers. If B2 stores 6.5%, test values should be entered as percentages, such as 5.5%, not as 5.5 unless the model is designed for whole-number percentages.
Exercise
In a two-variable table, years appear across the top and tax rates appear down the left side. Which input cell is the row input cell?
Show answer
The input cell for years is the row input cell because the year values run horizontally across the top.