Sub topic 7
Labelling rows and units clearly
A formatted number tells a reader how to treat it, and a label tells them what it is. This chapter covers the label side: row labels, a units column, and the habits that let a reviewer read a row without opening a formula. It assumes you can already separate inputs, calculations and outputs, and that you have chosen a sign convention. The sign convention matters here because a label has to say what a negative number means. Scaling (thousands versus millions) and timeline headers get their own chapters. This one touches them only where they affect labels.
Why labels need their own rules
Most label problems are small and cumulative. A row called "Cost" could be cost of goods sold, total operating cost, or the unit cost of one product. A row called "Growth" could be year-on-year, a compound rate, or a percentage-point change. A reviewer who has to guess will either ask you or, worse, guess wrong.
A good label answers three questions without further clicks:
- What is this quantity?
- In what unit is it measured?
- What does a positive or negative value mean?
The first two belong in the label and the units column. The third belongs in the sign convention, but the label should not contradict it.
The standard column layout
Most professional models reserve the left-hand columns for description and put numbers to the right. A typical layout looks like this:
| Column | Content | Example |
|---|---|---|
| A | Row label, indented to show hierarchy | Gross profit |
| B | Units | USD m |
| C | Notes or source reference (optional) | See Assumptions, row 14 |
| D onwards | Time series, one column per period | 2025A, 2026F |
Keep the same columns for the same purpose on every sheet. If units are in column B on the income statement, they should be in column B on the balance sheet and the cash flow statement. That consistency lets you copy rows between sheets and lets a reviewer scan down a single column to check every unit.
Writing good row labels
Name the quantity, not the calculation
Label what the number is. "Revenue" is better than "Units x Price". The calculation is visible in the formula, and the label should still be true if you rebuild the formula later.
Be specific about scope
Compare these pairs:
| Vague | Clear |
|---|---|
| Cost | Cost of goods sold |
| Growth | Revenue growth, year on year |
| Margin | Gross margin |
| Tax | Income tax expense |
| Debt | Net debt (borrowings less cash) |
| Interest | Interest expense on term loan |
When a row mixes two things, the label should say so, or the row should be split in two. A row labelled "Interest" that holds both income and expense is a source of sign errors.
Use one name per concept
If revenue is "Revenue" on the income statement, call it "Revenue" in the assumptions sheet and in the summary. Do not switch to "Sales" or "Turnover". Consistent names help search (Ctrl+F finds every instance) and help the reader trust that two rows refer to the same thing. Pick the term your audience or your company's reporting uses and keep it.
Show hierarchy with indentation
Use cell indentation instead of leading spaces. Indentation survives sorting and does not break lookups that match on label text.
- Section headings (such as "Income statement") are bold, with no indent.
- Line items sit one indent level in.
- Subtotals and totals are bold, at the same indent as the items they sum.
- Memo items (such as growth rates and margins) are italic and indented one level further.
Mark subtotals and totals as such
Use words such as "Total", "Net", or a specific name like "EBITDA". Put a border above the subtotal. A reader should see at a glance which rows are sums of others.
Say what a sign means when it is not obvious
Under the convention where costs are negative, "Cost of goods sold" with a value of (600) is clear enough. Cash flow lines are less obvious. "Capital expenditure" as a negative number is an outflow. Some modellers add a suffix for rows where the direction is easy to misread, such as "Change in working capital (increase = outflow)". Use this sparingly, only where a reasonable reader could get it wrong.
The units column
A units column is one short text cell per row, such as USD m, %, x, days, units, or years. It does three jobs:
- It tells the reader what the number is measured in without relying on a sheet title that may have scrolled out of view.
- It makes mixed-unit sheets safe. An assumptions sheet holds percentages, currency amounts, days and multiples side by side, and the column keeps them apart.
- It gives you something to check. If a formula divides a
USD mrow by aunitsrow, the result should be a price-like quantity inUSD m per unit, and you can see that from the column.
Rules that keep the column useful:
- Fill it for every numeric row, including percentages and ratios. A blank units cell reads as "forgot", not "dimensionless".
- Use a short, fixed vocabulary. Agree on
USD m, not a mix of$m,USDm,US$ millionsandmm. Inconsistent spellings defeat filtering and make reviewers wonder whether the units differ. - State currency explicitly when the model contains more than one, for example
EUR mandUSD m. A unit ofmalone is ambiguous. - Keep the unit consistent along the row. One row should not switch from millions to thousands halfway across. The next chapter covers scaling in more depth.
- Do not rely on the number format to carry the unit. A custom format that appends "m" to every figure can look helpful, but it hides the unit from anyone filtering, copying values, or reading the formula bar. Put the unit in the cell next to the label.
Percentages need one extra remark. A growth rate of 8% is stored as 0.08 and formatted as 0.0%. The units column should show %. If you have to store a rate as a whole number like 8 (some imported data does this), the unit must say % (whole number) or you should convert it, since otherwise a formula multiplying by it will be out by a factor of 100.
Building labelled rows in code
The following script writes a small income statement with a label column, a units column, indented hierarchy, a bold subtotal, and an italic memo row. It uses the colour and number format conventions from earlier chapters. You can run it as it is and open the resulting file.
from openpyxl import Workbook
from openpyxl.styles import Font, Alignment, Border, Side
wb = Workbook()
ws = wb.active
ws.title = "Model"
NUM = '#,##0_);(#,##0);"-"_)'
PCT = '0.0%_);(0.0%);"-"_)'
BLUE = Font(color="0000FF")
BOLD = Font(bold=True)
ITALIC = Font(italic=True)
ws.column_dimensions["A"].width = 36
ws.column_dimensions["B"].width = 10
ws.column_dimensions["C"].width = 12
ws.column_dimensions["D"].width = 12
# Header rows
ws["A1"] = "Income statement"
ws["A1"].font = BOLD
for col, text in zip("ABCD", ["Line item", "Unit", "2025A", "2026F"]):
ws[f"{col}2"] = text
ws[f"{col}2"].font = BOLD
# Revenue and its growth input
ws["A3"] = "Revenue"
ws["B3"] = "USD m"
ws["C3"] = 1000
ws["C3"].font = BLUE
ws["D3"] = "=C3*(1+D4)"
ws["A4"] = "Revenue growth, year on year"
ws["B4"] = "%"
ws["D4"] = 0.10
ws["D4"].font = BLUE
ws["D4"].number_format = PCT
# Cost of goods sold (costs stored as negatives)
ws["A5"] = "Cost of goods sold"
ws["B5"] = "USD m"
ws["C5"] = -600
ws["C5"].font = BLUE
ws["D5"] = "=-D3*D6"
ws["A6"] = "COGS as % of revenue"
ws["B6"] = "%"
ws["C6"] = "=-C5/C3"
ws["C6"].number_format = PCT
ws["D6"] = 0.60
ws["D6"].font = BLUE
ws["D6"].number_format = PCT
# Subtotal
ws["A7"] = "Gross profit"
ws["B7"] = "USD m"
ws["C7"] = "=C3+C5"
ws["D7"] = "=D3+D5"
top = Border(top=Side(style="thin"))
for col in "ABCD":
ws[f"{col}7"].font = BOLD
ws[f"{col}7"].border = top
# Indentation shows hierarchy; memo rows are italic and one level deeper
for row in (3, 5, 7):
ws[f"A{row}"].alignment = Alignment(indent=1)
for row in (4, 6):
ws[f"A{row}"].alignment = Alignment(indent=2)
ws[f"A{row}"].font = ITALIC
for row in (3, 5, 7):
for col in "CD":
ws[f"{col}{row}"].number_format = NUM
wb.save("labelled_model.xlsx")Notice that the label column carries the hierarchy, the units column is filled on every numeric row, and the cost row is negative to match the label "Cost of goods sold" with no "Less:" prefix.
Common errors
- Units only in the title. "USD millions" in cell A1 is lost the moment someone scrolls or copies a block into another sheet.
- Labels that describe the formula, such as "Prior year x 1.1". When the assumption changes, the label is wrong.
- Two spellings of the same unit (
$mandUSD m), which break filters and cast doubt on whether the rows really match. - Merged cells in the label column. They break sorting, filtering and copy-paste. Use indentation or "Center across selection" for headings instead.
- Typed labels that should be links. A heading that is retyped on every sheet will drift. Link repeated labels to one master cell if they must stay identical, such as the company name or the currency.
- Trailing spaces in labels. They break text matching in lookup formulas and are invisible. Trim them.
- Labels that depend on the model state, such as "Net debt" when the value is net cash in some periods. Name the row for what it measures, and let the sign show which side of zero it falls on.
A short self-check
Before sending a model, scroll down column A and column B only, ignoring the numbers. You should be able to say what each row is, in which unit, and where each section starts and ends. If you cannot, a reviewer will struggle too.
Exercise
A row labelled "Interest" holds the value (45) in 2026F, and the units cell is blank. The model stores costs as negatives. Name three problems with this row and rewrite the label and units.
Show answer
The label does not say whether it is income or expense, the scope is unclear (which debt?), and the units cell is empty so the reader cannot tell the currency or scale. A clearer version is "Interest expense on term loan" with units "USD m". The negative value (45) then reads correctly as a cost under the negative-cost convention.
Exercise
Why is it better to show the unit in a units column than to append "m" through a custom number format such as #,##0"m"?
Show answer
A custom format changes only how the number looks. The unit disappears when the value is copied, filtered, or read in the formula bar, and the same row can show "m" while holding a different scale. A units cell is real text next to the label, so it can be searched, checked against other rows, and kept consistent.
Exercise
A reviewer finds the units $m, USD m and US$ millions in one model. What practical problems does this cause, and what is the fix?
Show answer
Filtering or counting by unit treats them as three different units, and a reader may suspect the rows differ in currency or scale. The fix is to agree on one short vocabulary, such as USD m, replace every variant with it, and list it in the legend.