Sub topic 3
Building the inputs layer
This chapter assumes you can write basic spreadsheet formulas and use cell references. It also assumes you know what an income statement is and how a growth rate compounds over several periods. You will build the inputs layer of a model: the one place where every assumption lives.
What the inputs layer is
The inputs layer holds every number that a person chose, estimated, or looked up. Revenue in the first year, a growth rate, a tax rate and a forecast length are all inputs. Nothing in this layer is computed from other cells.
A cell belongs in the inputs layer if you could change it without breaking the model's logic. It belongs in the calculations layer if it is derived from other cells. The test is simple: "If I overwrite this value, am I changing an assumption or damaging a formula?" Overwriting an assumption is normal use. Overwriting a formula is damage.
Keeping all assumptions together has three practical benefits:
- A reviewer can read every assumption on one screen or one sheet without hunting through formulas.
- You change a number once and it flows everywhere that depends on it.
- Calculation formulas stay free of typed constants, so they are easier to audit and copy.
The structure of an inputs table
Each input needs more than a value. A usable inputs table has these columns:
| Column | Purpose | Example |
|---|---|---|
| Label | What the assumption is, in plain words | Revenue growth rate |
| Value | The number itself | 10% |
| Unit | How to read the number | fraction per year |
| Source or note | Where it came from and why | Management plan, 2026 budget |
| Name (optional) | A range name used by formulas | growth_rate |
The unit column prevents the most common input error: a value that is right in one unit and read in another. A tax rate typed as 25 in a cell that formulas treat as a fraction gives a tax charge 100 times too large. Writing the unit next to the value makes that mistake visible.
Put units in the label or the unit column every time. The Python example below puts the unit in a comment on each line, which serves the same purpose.
# INPUTS: every assumption lives in one place, with units in the name.
inputs = {
"revenue_year1": 1_000_000, # currency units
"growth_rate": 0.10, # fraction per year
"cogs_pct": 0.60, # fraction of revenue
"opex": 150_000, # currency units per year
"tax_rate": 0.25, # fraction of positive EBIT
"years": 3,
}
# CALCULATIONS: pure logic, reads only from inputs, holds no constants of its own.
def calculate(inp):
rows = []
revenue = inp["revenue_year1"]
for year in range(1, inp["years"] + 1):
if year > 1:
revenue = revenue * (1 + inp["growth_rate"])
gross_profit = revenue * (1 - inp["cogs_pct"])
ebit = gross_profit - inp["opex"]
tax = max(ebit, 0) * inp["tax_rate"]
rows.append({
"year": year,
"revenue": revenue,
"ebit": ebit,
"net_income": ebit - tax,
})
return rows
# OUTPUTS: presents calculation results, adds no new logic.
def report(rows):
for r in rows:
print(f"Year {r['year']}: revenue={r['revenue']:,.0f} EBIT={r['ebit']:,.0f} net income={r['net_income']:,.0f}")
report(calculate(inputs))The calculate function reads only from the inp dictionary. It contains no literal 0.6 or 0.25. If you want a different tax rate, you edit one line in inputs and nothing else.
How the layers connect
Information moves from inputs to calculations to outputs, and never backward. The inputs layer is the start of that chain.
No formula in the inputs layer reads from the calculations layer. If an input cell contains a formula that points at a calculation, the flow has looped back, and the model becomes hard to trace and easy to break.
Implementing the layer in a spreadsheet
In a spreadsheet, the usual approach is a dedicated sheet named Inputs. Calculation cells then reference it with absolute references, so one formula can be copied across the whole time axis.
Inputs!C5 = 0.10 (growth rate, blue input cell)
Calc!E10 = D10*(1+Inputs!$C$5) (revenue, same formula copied across every year column)
Calc!E12 = E10*(1-Inputs!$C$6) (gross profit, where Inputs!C6 is the COGS percentage)The dollar signs in Inputs!$C$5 lock the reference. When you copy the formula from column E to column F, the revenue reference D10 shifts to E10, but the growth rate still points to Inputs!C5. That is the behavior you want: the time-dependent part moves and the assumption stays fixed.
Single-value inputs and time-series inputs
Most inputs are single values: one tax rate, one starting revenue. Some assumptions change by year, for example growth of 12%, 10% and 8% over three years. Handle these in one of two ways:
- Enter a row of values on the inputs sheet, one cell per year, using the same column layout as the calculation sheet. Calculation column F then reads from the inputs column F.
- Enter a starting value and a rule, such as a yearly step, and calculate the time series on the calculation sheet.
The first approach is easier to audit because each year's assumption is visible. The second has fewer cells to maintain. Choose one per assumption and say which you chose in the notes column.
Input hygiene in practice
Clean inputs follow a short set of rules.
- One assumption, one cell. If the tax rate appears in two input cells, someone will update only one of them.
- No hardcodes in formulas. A formula such as
=E10*0.6hides an assumption inside logic. Move0.6to the inputs sheet and reference it. - State the unit. Distinguish a fraction (0.10) from a percentage display of that fraction (10%) and from a number of points (10).
- Record the source. A note such as "FY2025 audited accounts" lets a reviewer check the number later.
- Keep inputs raw. Store the number you were given, not a number you adjusted in your head. If an adjustment is needed, make it a visible calculation.
Constraining inputs
Spreadsheet data validation catches many typing errors before they reach the calculations. Reasonable rules include:
- A growth rate or percentage must be a decimal between -1 and 1.
- A forecast length must be a whole number between 1 and the number of columns the model supports.
- A scenario selector must come from a fixed list.
Validation does not replace integrity checks, which are covered in a later chapter. It only reduces the chance of a bad value being entered in the first place.
Inputs that are not numbers
Switches and selectors are also inputs. A cell that holds 1, 2 or 3 to pick a scenario is typed by a person and read by formulas, so it belongs on the inputs sheet. The same applies to dates, such as the model start date, and to text flags like "Yes" or "No". Treat them with the same discipline: label them, state the allowed values, and keep them in one place.
Common mistakes in the inputs layer
| Mistake | Symptom | Fix |
|---|---|---|
| Hardcoded constant inside a formula | Changing the assumption on the inputs sheet has no effect on some results | Replace the literal with a reference to an input cell |
| Same assumption entered twice | Two parts of the model use different values | Keep one input cell and reference it everywhere |
| Missing unit | A rate is read as 25 instead of 0.25 | Add a unit column and validation |
| Formula in an input cell | The "input" changes when other cells change | Move the formula to the calculations layer |
| Inputs scattered across sheets | Reviewers miss assumptions | Collect them on one sheet |
A quick way to find hardcodes is to scan the calculation formulas for numbers other than 0 and 1. Each one should be either a justified fact, like 12 months, or a candidate to move to the inputs sheet.
Exercise
A formula in a calculation cell reads =F20*(1-0.35) where 0.35 is a tax rate. Describe two problems this causes and how to fix it.
Show answer
First, the assumption is hidden inside the formula, so a reviewer reading the inputs sheet will not see it and cannot change it in one place. Second, if the same 0.35 appears in other formulas, updating the rate means finding every copy, and missing one gives inconsistent results. Fix it by adding a labeled tax rate to the inputs sheet with its unit (fraction of profit) and a source, then rewriting the formula as =F20*(1-Inputs!$C$8), where C8 holds the rate.
Exercise
Classify each as an input, a calculation, or an output: (a) the growth rate of 10%, (b) revenue in year 2 equal to year 1 revenue times 1.10, (c) a summary table of net income by year for management.
Show answer
(a) is an input, because a person chose it. (b) is a calculation, because it is derived from other cells (and the 1.10 should reference the input rather than be typed). (c) is an output, because it presents results from the calculations without adding new logic.