Sub topic 1
What the Model Is For and Why Structure Matters
A financial model is a spreadsheet or program that turns assumptions about a business into projected financial results. This chapter covers what a model is for, what goes wrong when it has no structure, and how the three-layer design in the rest of this tutorial addresses those failures.
Prerequisites
This chapter assumes you already have the following:
- Basic spreadsheet skills, including cell references (relative and absolute) and simple formulas.
- Familiarity with the core financial statements: the income statement, balance sheet, and cash flow statement.
- A working grasp of percentages, growth rates, and time periods.
You do not need to know any modeling conventions yet. The conventions are what the rest of the tutorial teaches.
What a model is for
A model exists to answer a question about the future, or about a decision, under stated assumptions. Typical questions:
- Will the business run out of cash in the next 18 months?
- What is a company worth if revenue grows 10% a year?
- Can a project support this much debt?
- How much does profit change if the cost of goods sold rises by two percentage points?
Every one of these has the same shape. You supply assumptions, the model applies logic, and you read results. A model is not a record of what happened. It is a machine for asking "what if" and getting a consistent answer.
This shape sets two requirements that drive the rest of the chapter.
- You must be able to change an assumption and trust the result. If changing the growth rate does not flow correctly to every affected number, the model gives wrong answers without warning.
- Someone else must be able to check it. Models support decisions that involve money. A reviewer, a lender, or you in six months needs to follow the logic without guessing.
Structure is what delivers both requirements.
What goes wrong without structure
Consider a model built the quick way. A single sheet holds some typed numbers, formulas that mix those numbers with other cells, and a summary at the bottom. It works on the day it is built. Then problems appear.
| Failure | How it happens | Consequence |
|---|---|---|
| Hardcoded constant inside a formula | `=D10*1.1` instead of referencing a growth cell | Changing growth means finding every formula that contains 1.1. Missing one gives silent errors. |
| Same assumption typed in several places | Tax rate entered as 25% on three rows | Updating two of the three gives inconsistent results. |
| Formula changes partway across a row | Column F uses a different formula from column E | The break is invisible unless you inspect each cell. |
| Inputs, logic, and results mixed together | A typed number sits between two formulas | You cannot tell what to change and what not to touch. |
| Unknown units | A cell holds `0.6`, or `60`, or `600000` | A percentage is read as a currency amount, or a monthly figure as annual. |
None of these errors announces itself. The spreadsheet still displays numbers. Studies of operational spreadsheets repeatedly find that a large share contain errors, and the usual causes are the ones in this table: wrong references, copied formulas that were not updated, and constants buried in logic. Structure does not make errors impossible, but it makes them findable.
The idea of separation
The remedy is to give each piece of the model exactly one job. Every cell is then one of three things:
- An input: a value you type in, because it is an assumption. Examples are a growth rate, a tax rate, or opening cash.
- A calculation: a formula that derives a value from inputs and from other calculations. Examples are revenue in year 3 or EBIT.
- An output: a presentation of results for a reader. Examples are a summary table, a chart, or a headline valuation.
The rules that follow from this classification are simple.
- Inputs are typed. Nothing else is typed.
- Calculations hold no typed constants. They read from inputs or from other calculations.
- Outputs add no new logic. They gather and format results that calculations already produced.
When these rules hold, "which number do I change?" always has one answer: the input. "Where does this result come from?" also has one answer: follow the calculation back to the inputs it reads.
The three layers in code
The same idea applies in a programming language. The example below is a small three-year model with all three layers kept apart.
# 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))Look at what each part can and cannot do:
inputsis data only. It has no formulas.calculatereceivesinputsas an argument and contains no assumptions of its own. The only literal values in it are structural ones, such as1for "add one to the growth rate" and0as the floor for tax.reportonly formats. If you wanted a different layout, you would changereportand no number would change.
To test a different growth rate, you edit one line in inputs and rerun. You never open the calculation code. That is the property a spreadsheet should also have.
The same idea in a spreadsheet
In a spreadsheet, the layers become sheets, or at least clearly marked blocks. Calculation cells point to input cells with absolute references, so one formula can be copied across the full 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 $ signs lock the reference to the input cell. Copying the formula from column E to column F keeps D10 moving to E10, but Inputs!$C$5 stays fixed. Without that lock, copying would drift the reference to an empty cell, and the model would quietly use zero.
How information flows
Structure also defines direction. Information should move one way:
An output never feeds back into a calculation, and a calculation never writes into an input. A model that breaks this rule can contain circular logic, where a result changes the assumption that produced it. Circularity has legitimate uses, such as interest calculated on an average debt balance. Those cases must be deliberate and documented, not accidental.
What structure buys you
The benefits map directly onto the failures above.
- Change: one assumption lives in one cell, so a change is one edit.
- Audit: a reviewer can read the inputs sheet to learn every assumption, then trace any output back through the calculations.
- Scenarios: because all assumptions are in one place, you can swap whole sets of them. Later chapters show how.
- Checks: because each layer has a clear job, you can write tests, such as confirming that components sum to a total.
- Reuse: the calculation logic can serve a new project by replacing only the inputs.
Structure has costs
Separation is not free. It is worth knowing the trade-offs before you adopt it everywhere.
- A three-layer model takes longer to build than a single scratch sheet.
- Cross-sheet references are longer and harder to read in a single formula than same-sheet references.
- For a one-off calculation you will never reuse, such as a quick loan payment, full structure is overkill.
A reasonable rule: if anyone will make a decision with the model, or you will change its assumptions more than once, use the structure.
Common misreadings
- "Structure means more sheets." The separation is logical. A small model can keep three clearly labeled blocks on one sheet, as long as no block breaks its rules.
- "Outputs are just the last calculations." An output that contains new logic hides that logic from anyone who audits only the calculations. If a number is needed, calculate it in the calculation layer, then display it.
- "Constants like 12 months are inputs too." True constants that never change, such as 12 months per year, are usually acceptable in formulas. Anything that is an assumption, or might ever vary, belongs in the inputs. The next chapters give a firmer test.
Where this tutorial goes next
The following chapters take each part in turn: the three layers in detail, how to build and clean each one, the time axis, sheet layout, formatting, named ranges, scenarios, integrity checks, sensitivity analysis, documentation, and a catalog of common pitfalls with fixes.
Exercise
A colleague's model contains the formula =E10*1.1 in the revenue row, and the summary sheet contains a typed number, 4,200,000, that was copied from a calculation last month. Classify each problem using the input, calculation, and output rules, and say how to fix it.
Show answer
The formula =E10*1.1 breaks the rule that calculations hold no typed assumptions. The 1.1 is a growth assumption, so move 0.10 into an input cell, label it with its unit (fraction per year), and change the formula to =E10*(1+Inputs!$C$5). The typed 4,200,000 on the summary sheet breaks the rule that outputs only present calculated results. It is a stale pasted value that will not update when assumptions change. Replace it with a reference to the calculation cell that produces it.
Exercise
Why must a calculation formula reference an input with an absolute reference such as Inputs!$C$5 when it is copied across the time axis?
Show answer
Copying a formula shifts relative references. A relative reference to the growth rate would move to a different cell in each column, usually an empty one that evaluates as zero. The absolute reference keeps every column pointing to the single input cell, so one formula works across the whole row.