Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Build a table whose records and meanings can be checked

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 spreadsheet is a model before it is a grid

The fictional Harbor Model Supply case uses one row per sales line, not one row per customer or per month. A customer can have several lines and a product can appear in several regions. State that grain before summarizing. A unique line identifier prevents an apparent duplicate from being deleted just because two legitimate sales share a product and quantity.

Use columns RecordID, Date, Region, Product, Units, Price and UnitCost as inputs. Add Revenue, Cost, Gross and Margin as calculated columns. Keep a short data dictionary explaining the date's meaning, currency, unit and permitted categories. Here Price and UnitCost are dollars per unit; Units is a count of units sold; Date is the sales date. These choices do not establish when cash was collected.

Keep raw source values separate from a cleaned working table and document any correction. A visually tidy worksheet can hide a changed observation. The objective is a reproducible chain from original records to decision, not just an attractive screen.

Enter the original teaching dataset with one header row

Create a sheet named SalesData. Put these seven headers in A1:G1 in the order shown. Enter rows2 through5 using the four records below. Enter each date as an actual date, for example with =DATE(2026,1,31), rather than relying on an ambiguous locale-specific text such as1/2/26.

RecordID,Date,Region,Product,Units,Price,UnitCost
R001,2026-01-31,North,A,60,20,12
R002,2026-01-31,South,A,40,20,12
R003,2026-01-31,North,B,400,10,9
R004,2026-01-31,South,B,500,10,9

This CSV illustrates the values; how pasted text is parsed depends on the application and locale. Check that Units, Price and UnitCost are numeric and the dates are genuinely recognized. In Excel for Windows, select the data and use Insert Table or Ctrl+T with headers, then name the table Sales through Table Design. The matched Microsoft table reading explains the current feature. Do not include a hand-entered total row among the observations used by a later pivot table.

Data types prevent plausible-looking errors

An identifier007 is a label, not the number seven. If leading zeroes carry meaning, import or enter it as text; number formatting that displays007 does not change a stored numeric value into an identifier. A date is not interchangeable with a formatted text string, and a displayed dollar sign does not prove a cell contains a valid numeric amount.

A blank UnitCost means unknown in this case; it must not silently mean zero. Multiplication can produce a seemingly favorable gross result when a missing cost is treated as zero. Count and review missing inputs explicitly before trusting totals. Zero units can be a valid supplied value with a different meaning, but it makes a row margin denominator zero and requires a deliberate interpretation.

Negative quantities can represent returns in some real datasets. For this initial case, restrict the dataset to ordinary positive sales and record that boundary. If returns are added, define their signs and cost treatment rather than deleting them as errors or allowing them to change the denominator without explanation.

Build controls around the observations

Check four rows, four unique RecordIDs and the allowed Region and Product values before calculating. Verify the combined quantity is1,000 units. This control total is useful but not sufficient: swapping two prices or duplicating one row while removing another can leave a count unchanged. Use complementary checks tied to likely failure mechanisms.

Record provenance and an as-of date and keep assumptions on a separate sheet. Limit copies of real business information and use appropriate access and review controls. The course's records are fictional; no actual customer, financial account or learner data is needed for practice.

The preserved finance readings explain business measurement, while the new technical readings support table construction. Neither a table format nor a successful import establishes that the underlying business observations are true. Later units make the formulas, summaries, cash assumptions and decision communication equally reviewable.

Worked example: Check the grain and control totals

The four RecordIDs identify four sales lines. ProductA has60+40=100 units; ProductB has400+500=900; total1,000. Repeated Product values are expected and are not duplicate keys.

Worked example: Missing is different from zero

If R003 UnitCost is blank, flag it as unresolved. Do not accept a calculated4,000 gross amount created by treating that unknown cost as zero. With the supplied9 cost, R003 Cost is3,600 and Gross400.

Progressive optional practice

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

Guided

What does one row represent in the case?

Compare the model reasoning

One sales line with a unique RecordID, not a monthly total or customer total.

Changed conditions

Two lines have identical business values but different valid IDs.

Compare the revised analysis

Do not remove one merely because the visible values match; investigate provenance and the intended key.

Independent

Why is a formatted007 not necessarily a text identifier?

Compare the model reasoning

Formatting can change display while the underlying value remains numeric7.

Changed conditions

The source distinguishes007 from7.

Compare the revised analysis

Preserve that distinction through an appropriate text import or entry and verify the stored values.

Transfer

Does a1,000-unit control total prove the table is correct?

Compare the model reasoning

No. It detects some omissions or additions but can miss swapped fields and offsetting errors.

Changed conditions

A region label is misspelled.

Compare the revised analysis

The quantity total can still match while regional summaries split incorrectly; validate categories too.

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.

Principles of Finance — 4.1 Cash versus Accrual Accounting — 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.