Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Write formulas that retain their meaning when copied

Current complete on-site edition 3

Required teaching and complete optional models are supplied on LawfareGroup.com. Publisher and primary links are optional provenance or further reading. Florida is the contemporary state-law default; federal rules and explicitly comparative accounting frameworks are distinguished. Independent subject review and observed human learner testing remain pending.

Cumulative data-system dossier, transfer models and 30-point rubric

Preserved original teaching integrated with complete current on-site preparation. Independent human subject review and observed learner testing remain pending.

Learning objectives

A formula describes dependencies, not merely an answer

Add H1:K1 as Revenue, Cost, Gross and Margin to the Sales table. In a calculated column, =[@Units]*[@Price] computes that row's Revenue; =[@Units]*[@UnitCost] computes Cost; =[@Revenue]-[@Cost] computes Gross. In a plain range with the original column layout, the equivalent row2 formulas are =E2*F2, =E2*G2 and =H2-I2.

The plain formulas use relative references. Copying =E2*F2 down one row should become =E3*F3. Check the copied expression in a later row, not only the first answer. A formula can be correct at its origin and wrong after filling. Structured references make the column meanings visible, but table formulas also need review when columns, rows or assumptions change.

Do not paste calculated answers as fixed numbers merely to make a report stable. That severs the relationship to the source inputs. If a snapshot is needed, preserve the model, the snapshot date and a documented copy rather than silently replacing formulas in the working model.

Anchor what should stay fixed and move what should vary

Put an explicitly hypothetical discount rate of5% in Assumptions!B2. A plain row formula =F2*(1-Assumptions!$B$2) applies that one rate to the row's unit price. Copying down should change F2 to F3 while retaining $B$2. Omitting the anchors can cause the next row to read an unrelated assumption cell and still return a plausible number.

A mixed reference fixes only one coordinate. For a separate multiplication grid, put quantities10 and20 in B2:B3 and prices5 and6 in C1:D1. Enter =$B2*C$1 in C2 and fill across and down. The columnB quantity stays fixed when moving across; the row1 price stays fixed when moving down. The four outputs are50,60,100 and120.

This grid is a mechanical example, not the sales table's layout. State the sheet and purpose to prevent a learner from applying its cell addresses to a different structure. The dollar signs here are reference anchors, not currency notation. Formula separators and shortcut behavior vary by environment; the readings identify the supported Excel operations.

Undefined quantities need an explicit response

For a row margin, divide Gross by Revenue only when the denominator and data are meaningful. The teaching formula =IF([@Revenue]=0,NA(),[@Gross]/[@Revenue]) returns an explicit unavailable value for zero revenue instead of inventing a zero margin. It does not by itself detect every missing input or inappropriate transaction; input checks remain necessary.

An error message can reveal a problem worth fixing. Wrapping every calculation in a blanket error-to-zero replacement makes the output look clean while concealing missing references, invalid types and division problems. Choose a response based on the meaning of the error and show unresolved cases to the reviewer.

Displayed rounding is also different from stored calculation. Show currency at two decimals when appropriate while retaining suitable precision for intermediate calculations. When a contractual or accounting rounding rule applies, implement the actual rule explicitly; do not infer one from a visual format.

Use checks that can fail for a relevant reason

The case should reconcile total Revenue less total Cost to total Gross. The equality is a useful internal consistency check but may still pass if all three columns share the same wrong price. Independently recompute a selected row and compare aggregate values with source counts and grouped totals. Test a changed input and predict which outputs should move before recalculating.

For a formula audit, record key inputs, units, formula expressions and expected behavior under zero, missing or boundary values. Explain external dependencies and version the workbook rather than relying on memory of yesterday's cells. A reviewer should be able to distinguish an input change from a formula change.

The published laboratory reconstructs the original case logic in Python, which provides an independent arithmetic route. It is not an Excel engine and does not establish that every menu or formula will execute in every spreadsheet product. Optional application practice uses the matched official documentation and does not require submitting actual business or learner records.

Worked example: Copy behavior with an anchored assumption

At price20 and discount5%, =F2*(1-Assumptions!$B$2) gives19. On a row with price10 it gives9.50 when copied correctly. The rate reference remainsB2 on the Assumptions sheet.

Worked example: Mixed-reference grid

With B2=10,B3=20,C1=5,D1=6, =$B2*C$1 in C2 produces50; filled toD2 it uses10×6=60; C3 gives20×5=100; D3 gives120. Each anchor has a specific purpose.

Progressive optional practice

Attempt each problem before opening its model. Then revise the reasoning under the changed conditions.

Guided

What should change when =E2*F2 is copied down?

Compare the model reasoning

The relative row references should move to E3 and F3.

Changed conditions

The unit price is actually one shared assumption elsewhere.

Compare the revised analysis

Reference that shared input with the appropriate fixed address; do not assume every operand should move.

Independent

Why not return zero for every formula error?

Compare the model reasoning

Zero is a substantive value and may conceal missing data, broken references or undefined ratios.

Changed conditions

Revenue is zero.

Compare the revised analysis

Use an explicit unavailable result for a margin and explain the case rather than announce a0% margin.

Transfer

Does Revenue−Cost=Gross prove the prices are correct?

Compare the model reasoning

No. A common wrong input can preserve the identity.

Changed conditions

A source price changed from20 to22.

Compare the revised analysis

Trace the authorized source change, predict affected row and group outputs, and preserve the audit trail.

Preserved historical development snapshot · Course content review

Source readings and scope

Microsoft — Using structured references with Excel tables — The complete current on-site studios now supply the original finance concepts and spreadsheet methods. All preserved publisher and Microsoft links are optional provenance or further reading. Academy datasets and business cases are original and fictional. Formulas use English Excel names and comma separators; menus, locale syntax and feature availability depend on platform/version. The published Python lab checks data and model reasoning, not execution in every spreadsheet product. Florida is the state-law default; no assumed discount, cost or financial rate is a legal rate. The earlier route check remains historical evidence from October 28,2026; it is not a fresh verification of every route or a required visit.

Microsoft — Create or change a cell reference — The complete current on-site studios now supply the original finance concepts and spreadsheet methods. All preserved publisher and Microsoft links are optional provenance or further reading. Academy datasets and business cases are original and fictional. Formulas use English Excel names and comma separators; menus, locale syntax and feature availability depend on platform/version. The published Python lab checks data and model reasoning, not execution in every spreadsheet product. Florida is the state-law default; no assumed discount, cost or financial rate is a legal rate. The earlier route check remains historical evidence from October 28,2026; it is not a fresh verification of every route or a required visit.

Principles of Finance — 5.1 The Income Statement — The complete current on-site studios now supply the original finance concepts and spreadsheet methods. All preserved publisher and Microsoft links are optional provenance or further reading. Academy datasets and business cases are original and fictional. Formulas use English Excel names and comma separators; menus, locale syntax and feature availability depend on platform/version. The published Python lab checks data and model reasoning, not execution in every spreadsheet product. Florida is the state-law default; no assumed discount, cost or financial rate is a legal rate. The earlier route check remains historical evidence from October 28,2026; it is not a fresh verification of every route or a required visit.

Reproduce the worked examples in Python 3. Standard library only; synthetic data; no production records or network access.