Sub topic 11
One formula per row, one calculation per row
This chapter covers two rules that make a model easy to review. Every row holds one formula that is copied across all columns, and every row performs one calculation. I assume you can build multi-sheet Excel workbooks, understand relative and absolute references, and know functions such as IF, SUM, AND and ABS.
Why these rules matter
A reviewer cannot read every cell of a model with 60 columns and 200 rows. If each row has the same formula in every column, the reviewer reads the first cell and trusts the rest. If one cell differs, the model has a hidden exception that is easy to miss and easy to break.
The FAST Standard supports this in two places. The Structured principle asks for a predictable layout. The Transparent principle asks for logic that is easy to follow and verify. Consistent formulas serve both.
Rule 1: one formula per row
A row is consistent when the formula in every period column is identical in R1C1 terms. In R1C1 terms, each cell refers to the same positions relative to itself. In A1 notation, a copied formula shifts its references, but the logic stays the same.
F22: =F20*F21
' Row 20: Units sold
' Row 21: Price per unit
' Row 22: Revenue
' The same formula is copied across every column of the row.This formula is copied from F22 to the last period column. Each column multiplies its own units by its own price.
What breaks consistency
Three habits cause most inconsistent rows:
- A different first column. The opening balance in the first period is different from every later period, so a modeller types a special formula or a hardcoded number there.
- Overwritten cells. Someone types a number over a formula to force a result.
- Date logic in the calculation. A formula tests whether a period falls inside a date range, and the test differs by row.
You fix each one by moving the difference into data. The data sits in an input cell, a flag row, or a timeline row. The formula stays the same and the data changes.
Using flags to avoid special cases
A flag is a row of 1s and 0s that tells calculations whether something applies in a period. A timeline flag switches a calculation on only while operations run.
F10: =IF(AND(F$6>=Inputs!$D$8,F$7<=Inputs!$D$9),1,0)
' Row 6: Period start date
' Row 7: Period end date
' Inputs!D8: Operations start date
' Inputs!D9: Operations end dateThe start and end dates stay in the inputs. Calculation rows multiply by row 10 and need no date logic of their own. For example, revenue during operations becomes =F20*F21*F10.
The $ signs matter. F$6 fixes the row but lets the column move, so each period reads its own dates. Inputs!$D$8 fixes both, so every period reads the same single input.
The opening balance without a special column
A balance row normally has a different first period, because no prior closing balance exists. A first-period flag removes the difference.
F28: =E31+F$9*Inputs!$D$12
F29: =F27
F30: =-F26
F31: =SUM(F28:F30)
' Row 9: First-period flag (1 in the first period, 0 otherwise)
' Row 26: Repayments (positive number)
' Row 27: Additions
' Row 28: Opening balance
' Row 29: Additions
' Row 30: Repayments
' Row 31: Closing balanceIn the first period, column E holds no number, so E31 is a blank or a label column that evaluates to zero. The flag then adds the opening-balance input. In every later period the flag is 0, so only the prior closing balance flows through. The formula is the same in every column.
Make sure the cell to the left of the first period is empty or numeric. If it holds text, the formula returns an error.
Rule 2: one calculation per row
A row should do one job. The row label should describe it completely. If you need the word "and" in the label, you probably need two rows.
Compare two versions of a tax calculation.
' Combined (hard to review)
F50: =MAX(0,F45-F46)*Inputs!$D$20*(1-F47)
' Split (easy to review)
F50: =F45-F46
F51: =MAX(0,F50)
F52: =F51*Inputs!$D$20
F53: =F52*(1-F47)
' Row 45: Profit before tax
' Row 46: Losses brought forward used
' Row 47: Relief share
' Row 50: Taxable profit before floor
' Row 51: Taxable profit
' Row 52: Tax before relief
' Row 53: Tax payableThe combined version works, but a reviewer must decode four operations in one cell. If the answer looks wrong, they cannot see which step caused it. The split version shows each intermediate result, and each row has a label.
Trade-offs
More rows make a longer sheet. That cost is small. Each extra row is easy to read, and a reviewer can scan the figures down a column.
Do not split without limit. Adding two numbers or applying a single multiplication rarely needs its own row. Aim for a formula a reviewer can read at once, and split when it mixes different ideas such as a floor, a rate and a relief.
Checking consistency
Do not rely on eye alone. Use these tools:
- Press
Ctrl+` (grave accent) to show formulas. Look for rows where the pattern changes. - Use Go To Special > Row differences after selecting a row. Excel highlights cells that differ from the active cell. This works on A1 references with the same relative pattern.
- Use Formulas > Error Checking > Inconsistent Formula flags. Excel marks cells that differ from neighbours.
- Add a check row where it matters, as the integrity checks chapter describes.
Common errors
| Error | Result | Fix |
|---|---|---|
| Hardcoded number inside a formula, such as `=F20*1.2` | Assumption is hidden and cannot be changed in one place | Put 1.2 in the inputs and reference it |
| Typed number over a formula in one column | Row looks consistent but one value is stale | Restore the formula, add a flag or input for the exception |
| Different formula in the first column | Row needs two formulas, so the reviewer must check both | Use a first-period flag |
| Missing `$` anchor | Copying shifts the reference to the wrong cell | Anchor the row or column that must not move |
| Mixed units in one row | Results are wrong by a factor of 1,000 | Keep one unit per row and label it |
A short walkthrough
Suppose you build a loan schedule. Start with the timeline and flags, then each row of the calculation.
- Put the loan start date and opening balance in the inputs.
- Build a first-period flag in row 9 and an operations flag in row 10.
- Write the opening balance row using the first-period flag.
- Write additions and repayments as separate rows. Show repayments as a positive number in the row that calculates them, and apply the sign when they enter the balance.
- Sum the three rows to get the closing balance.
- Copy each row across the full timeline and check for inconsistencies with Row differences.
The sign flip in step 4 is deliberate. The repayments row stays positive so it is readable. Row 30 reverses it with =-F26, in one place only. Sign handling belongs in a labelled row, and not buried inside a larger formula.
Exercises
Exercise
Row 15 of a model holds monthly costs. Columns F to Q contain =F12*F13, but cell M15 contains the typed number 48,200. Explain the risk and describe two ways to fix it.
Show answer
The typed number does not update when F12 or F13 change, so M15 is stale and the row has a hidden exception. Fix one: restore =M12*M13 and, if the cost really is a one-off, add a separate input row for the adjustment and include it in a distinct row. Fix two: if the value reflects a timing condition, add a flag row and multiply by it, so every column keeps the same formula.
Exercise
A formula reads =MAX(0,F45-F46)*Inputs!$D$20*(1-F47). Split it into rows that each perform one calculation, and give each row a label.
Show answer
Row A, "Taxable profit before floor": =F45-F46. Row B, "Taxable profit": =MAX(0,F50). Row C, "Tax before relief": =F51*Inputs!$D$20. Row D, "Tax payable": =F52*(1-F47). Each row has one calculation, and the reviewer can see the result of each step.