Sub topic 8
Stating units and keeping scale consistent
A number without a unit is ambiguous. The cell 1,500 could be dollars, thousands of dollars, or millions of euros. This chapter covers how to state units on every row, how to choose one reporting scale, and how to stop mixed scales from silently corrupting results.
It assumes you have already set up row labels with a units column, and that you know basic number formats and cell references. It builds on the sign and number-format chapters but does not repeat them.
Why unit errors are costly
Unit errors rarely produce an obvious #REF!. They produce a plausible number that is wrong by a factor of 1,000 or 1,000,000. Common causes:
- Revenue in thousands is added to costs in millions.
- A percentage entered as
8instead of8%is multiplied into a currency figure. - Share counts in millions are divided into earnings in thousands, so earnings per share is off by 1,000.
- Two currencies are summed without conversion.
A reviewer cannot detect any of these by looking at the formula. The formula =C5-C9 is correct in structure and wrong in meaning. The defence is to make the unit visible on every row and to keep the scale uniform wherever numbers are combined.
Three separate ideas: currency, scale, and unit of measure
"Units" bundles three things. Keep them distinct in your labels.
| Idea | Question it answers | Examples |
|---|---|---|
| Currency | What money is this? | USD, EUR, GBP |
| Scale | By what factor are the figures divided for display or storage? | units, thousands (000), millions (m) |
| Unit of measure | What physical or count quantity is this? | tonnes, barrels, subscribers, %, x |
A well-labelled revenue row might read Revenue | USD m. A volume row reads Production | kbbl (thousand barrels). A margin row reads EBITDA margin | %. Each label states only what applies. A percentage has no currency and no scale, so do not write USD %.
Put units in a dedicated column
Place units in their own column directly next to the row label, as the previous chapter on row labels describes. Do not bury them in the label text with a phrase like "Revenue (USD m)", because then a formula or filter cannot read them and the text is harder to keep consistent.
A dedicated column gives you three practical benefits:
- You can scan down the column and see at a glance where the unit changes.
- You can write a check formula that compares the units of the rows feeding a calculation.
- You can change a unit label in one place and use it elsewhere.
A layout that works:
Col A: Row label Col B: Units Col C: Notes Col D onward: Periods
Units sold units
Price per unit USD
Revenue USD 000
Gross margin %Choose one reporting scale per statement
The most important rule is simple: use one scale for all currency figures that get added, subtracted, or compared. Within an income statement, every line is in the same scale. Within a balance sheet, likewise. Best practice is to use the same scale across the entire model unless there is a strong reason not to.
Pick the scale from the size of the business:
- Small business, monthly figures: units or thousands.
- Mid-sized company: thousands or millions.
- Large listed company: millions.
A useful test is that the largest figure should have no more than about six or seven digits, and the smallest meaningful figure should still show at least one significant digit after rounding. If a company reports revenue of 48,000 million and a small line of 0.4 million, millions with one decimal place may be needed, or thousands may suit better.
Exceptions exist for drivers that are naturally in other units, such as price per unit, headcount, or share price. Those stay in their natural units. The rule applies to money lines that combine.
Scale in the data versus scale in the display
There are two ways to get figures "in thousands", and mixing them is a classic source of error.
- Store the real number and show it scaled with a number format. The cell holds
1500000and displays1,500. - Store the scaled number. The cell holds
1500and displays1,500.
The first approach uses a format with a trailing comma. Each comma after the digit placeholders divides the displayed value by 1,000.
Thousands: #,##0,_);(#,##0,);"-"_)
Millions: #,##0.0,,_);(#,##0.0,,);"-"_)The danger is that the displayed value differs from the stored value. If someone copies the visible 1,500 into another cell as a typed number, they enter 1,500 where 1,500,000 is stored. Formulas that reference the cell still use 1,500,000, but anything hardcoded next to it will be off by 1,000.
The second approach stores scaled values and has no hidden difference. Most professional models prefer it because what you see is what the formula uses. This means conversion happens once, at the point where raw data enters the model, in a visible formula.
Decide which approach the model uses, state it on the cover sheet, and do not mix them.
Convert in one place with a scale cell
Hardcoding /1000 inside formulas makes the scale invisible and hard to change. Put the divisor in a single labelled input cell and reference it. This applies the earlier input-colour rule to scale as well.
from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill
wb = Workbook()
ws = wb.active
ws.title = "Model"
blue = Font(color="0000FF")
yellow = PatternFill("solid", start_color="FFFFCC")
ws["A1"] = "Scale divisor (USD to USD 000)"
ws["B1"] = "x"
ws["C1"] = 1000
ws["C1"].font = blue
ws["C1"].fill = yellow
ws["A3"] = "Units sold"
ws["B3"] = "units"
ws["C3"] = 120000
ws["C3"].font = blue
ws["C3"].number_format = "#,##0_);(#,##0);\"-\"_)"
ws["A4"] = "Price per unit"
ws["B4"] = "USD"
ws["C4"] = 12.5
ws["C4"].font = blue
ws["C4"].number_format = "#,##0.00_);(#,##0.00);\"-\"_)"
ws["A5"] = "Revenue"
ws["B5"] = "USD 000"
ws["C5"] = "=C3*C4/$C$1"
ws["C5"].font = Font(color="000000")
ws["C5"].number_format = "#,##0_);(#,##0);\"-\"_)"
wb.save("units_example.xlsx")Revenue evaluates to 120,000 × 12.5 / 1,000 = 1,500, labelled USD 000. To report in millions, change one cell to 1000000 and the label to USD m. The label can also be built from the scale so the two cannot disagree. For example, =IF($C$1=1000,"USD 000",IF($C$1=1000000,"USD m","USD")) in column B keeps them in sync.
The following diagram shows where conversion should happen.
Percentages, ratios, and multiples
These carry no currency or scale, but they still need clear handling.
- Store percentages as decimals (
0.08) and format them as0.0%. Never store8and call it percent, because a multiplication like=C10*C5will be 100 times too large. - A growth rate and a margin are both
%, but a basis-point figure is not. If you use basis points, label the rowbpsand divide by 10,000 where it feeds a calculation. - Multiples such as EV/EBITDA use the
0.0"x"format and the unitx. - Per-share figures need their own unit, for example
USD per share, even when the surrounding statement is in millions. Compute them as scaled earnings divided by scaled share count, and check that both use the same scale. Net income in USD m divided by shares in millions gives USD per share directly. Net income in USD 000 divided by shares in millions does not.
Currency handling
If the model uses more than one currency, treat conversion as an explicit calculation, not an assumption.
- Put exchange rates on the inputs sheet with the quote direction stated, for example
USD per EUR. - Convert each foreign line in its own row, labelled with both currencies in the unit column.
- Never sum a foreign line and a home-currency line directly.
- Keep one reporting currency for all outputs.
Whether a rate is "EUR per USD" or "USD per EUR" decides whether you multiply or divide. Stating the direction in the label is the cheapest protection against inverting it.
Check that scales agree
You can build a check, in the same spirit as a balance check, that flags mixed units. With units in column B, this formula returns 0 when two rows being added share a unit and 1 otherwise:
=IF($B12=$B13,0,1)For a range, count rows whose unit differs from the first row in a block:
=SUMPRODUCT(--(B12:B18<>B12))A result greater than 0 means at least one row in the block has a different unit. Roll these into the summary check on the cover sheet so a unit mismatch appears alongside balance failures.
A second sanity check is a reasonableness test. Compare a key figure with an external source, such as reported revenue. If your model shows 1,500 and the annual report shows 1,500,000, the scale is wrong, and you will see it immediately.
Common mistakes
- Labelling a header "USD m" while the data is in thousands.
- Using the display-scaling comma format on some cells and stored scaling on others.
- Entering a hardcoded
/1000inside a formula. - Changing the scale cell without updating the unit labels.
- Mixing "m" for millions and "m" for months. Use
USD mandmonthsormthsunambiguously. Some firms usemmfor millions, so state your choice in the legend.
Summary of rules
- Every row has a unit in its own column.
- Currency, scale, and unit of measure are labelled separately and only where they apply.
- One reporting scale is used for all money lines that combine.
- Conversion happens once, using a labelled input cell, never a buried constant.
- Percentages are stored as decimals; multiples use the
xformat. - Check cells flag unit mismatches and feed the summary check.
Exercise
A model stores net income as 4,200 labelled "USD 000" and shares outstanding as 3.5 labelled "millions". A formula computes earnings per share as =NetIncome/Shares and returns 1,200. What is wrong, and what is the correct EPS in USD per share?
Show answer
The two inputs use different scales, so the result is off by a factor of 1,000. Net income of USD 4,200 thousand is USD 4,200,000, and 3.5 million shares is 3,500,000 shares, so EPS is 4,200,000 / 3,500,000 = USD 1.20 per share. The formula should convert first, for example =NetIncome1000/(Shares1000000), or use a scale cell. The unit of the result row should read "USD per share".
Exercise
A cell holds 2,750,000 and uses the number format #,##0,_) so it displays 2,750. A colleague types =B5+500 in another cell, intending to add 500 thousand. What does the formula return, and how would you avoid the problem?
Show answer
It returns 2,750,500, which displays as 2,751 in the same format, so the intended 500 thousand addition has an effect of only 0.5 thousand. The format hides that the stored value is in units. To avoid the problem, store figures already scaled (2,750 in thousands) and convert once in a visible formula using a scale cell. Alternatively, add the correct amount as =B5+500*$C$1 with C1 holding 1000.
Exercise
Write a formula, assuming units are in column B, that returns 0 if rows 20 to 25 all have the same unit as row 20, and a number greater than 0 otherwise.
Show answer
=SUMPRODUCT(--(B20:B25<>B20)). It compares each unit to the one in B20, counts the mismatches, and returns 0 only when every row matches.