Sub topic 2
Transparent: making logic easy to follow
This chapter assumes you build multi-sheet Excel workbooks, read relative and absolute references, and use IF, SUM, AND and ABS. A model is transparent when a reviewer can trace any output back to its inputs without asking the author. The "T" in FAST asks for exactly that.
Separating inputs, calculations and outputs
Keep inputs, calculations and outputs on separate sheets. Inputs hold every number a person types in. Calculations hold formulas only. Outputs link to calculations and contain no logic of their own.
Timelines and flags that every calculation shares
Define period start and end dates once, in a timeline block at the top of the calculation sheet. A flag is a row of 1s and 0s that switches a calculation on or off. Its formula reads the timeline and the inputs, so no other row needs its own date logic:
F10: =IF(AND(F$6>=Inputs!$D$8,F$7<=Inputs!$D$9),1,0)Row 6 holds the period start date, row 7 holds the period end date, and Inputs D8 and D9 hold the operations start and end dates.
One formula per row, one calculation per row
Write one formula for the row and copy it across every period column. Keep each row to a single calculation. A formula that changes partway along a row is a common source of errors.
F22: =F20*F21Row 20 holds units sold, row 21 holds price per unit, and row 22 holds revenue. The same formula appears in every column.
Managing inputs and removing hardcodes from formulas
A hardcode is a number typed directly into a formula, such as =F20*1.05. Hidden inside a formula, it is hard to find and easy to forget. Move each such number to the inputs sheet and reference it with an absolute address:
F12: =F10*Inputs!$D$12The dollar signs keep the reference pointing at the same input cell when the formula is copied across the row.
Exercise
Column F of a row contains =F201.05, and column G contains =G201.05. What is the problem, and how do you fix it?
Show answer
The 1.05 is a hardcode. Place it in an input cell such as Inputs!$D$15, then enter =F20*Inputs!$D$15 across the row. One change to the input now updates every period.