Sub topic 13
Displaying thousands and millions
This chapter assumes you can apply a custom number format through Format Cells (Ctrl+1) and that you know the three-section format pattern for positives, negatives, and zeros. It builds on the previous chapters on custom format syntax and standard financial formats. Here you will learn how to show large values in thousands or millions without changing the numbers underneath.
Why scale the display
A model in whole dollars produces cells like 12,345,678 or 1,234,567,890. These are hard to scan and widen every column. Analysts normally show statements in thousands or millions and state the unit in a header, such as "USD millions".
You can reach that display in three ways:
- Divide the numbers in formulas, for example
=B5/1000000. - Divide by a units input cell, for example
=B5/Units. - Keep the full values and use a number format that scales the display.
The format approach is the subject of this chapter. It is quick, and every other cell that references the value still receives the full-precision number.
The trailing comma rule
In a number format, a comma has two roles. A comma between digit placeholders, as in #,##0, turns on the thousands separator. A comma placed directly after the last digit placeholder divides the displayed value by 1,000. Each additional trailing comma divides by another 1,000.
| Format | Stored value | Displayed |
|---|---|---|
| `#,##0` | 12345678 | 12,345,678 |
| `#,##0,` | 12345678 | 12,346 |
| `#,##0,,` | 12345678 | 12 |
| `#,##0.0,,` | 12345678 | 12.3 |
| `#,##0.0,,,` | 1234567890 | 1.2 |
Only the display changes. The cell still holds 12345678, and the formula bar shows it.
A complete financial format
Combine scaling with the three-section pattern from the previous chapter. This format shows millions with one decimal, negatives in parentheses, and zero as a dash:
#,##0.0,,_);(#,##0.0,,);"-"_)The _) in the positive and zero sections adds a space the width of a closing parenthesis, so digits line up with negative numbers. The trailing commas sit directly after the 0 placeholder, before the _). For thousands with no decimals:
#,##0,_);(#,##0,);"-"_)Adding a unit suffix
You can append a literal unit in quotation marks. Place it after the scaling commas:
#,##0.0,,"m"_);(#,##0.0,,"m");"-"_)A stored 12,345,678 displays as 12.3m. This is useful for a single headline figure in a summary or chart label. In a full statement it is noisy, because every cell repeats the letter. Use a unit header on the statement instead, and keep the cells clean.
Worked example
Suppose three revenue lines are stored as 1,440,000 each, and a total cell holds =SUM(B2:B4). All four cells use the millions format with one decimal.
=SUM(B2:B4)Each line displays 1.4. The total is 4,320,000, which displays 4.3. A reader who adds the displayed lines gets 4.2 and sees a total that is 0.1 too high. The model is correct, because the sum uses the stored values. The display just rounds each number independently.
You have three options in this situation:
- Show more decimals so the rounding gap is smaller.
- Accept the gap, which is standard in published financial statements, and add a note that figures may not sum due to rounding.
- Round the underlying values with
ROUND, which changes the data. Do this only when the model truly needs rounded values.
Choosing an approach
The right method depends on who consumes the number and what else references it.
Format scaling is the least invasive option, but it is also the easiest to forget. Someone who copies the value into another program, or who reads the formula bar, sees the full number. Dividing in the formula makes the scale visible in the logic. A units input cell lets one setting drive the whole workbook, at the cost of every output formula carrying /Units.
Edge cases and gotchas
Small values display as zero, not a dash. The dash appears only in the zero section, which applies to exactly zero. A stored value of 400 under #,##0, displays as 0, because the scaled value 0.4 rounds to 0 but still belongs to the positive section. If you need to tell tiny values from true zeros, show more decimals.
Rounding follows normal display rounding. With #,##0,, 1,499 displays as 1 and 1,500 displays as 2.
The comma must follow a digit placeholder. In #,##0,,_) the commas follow the 0, so they scale. A comma that appears after a literal, such as after a quoted string, is displayed as a comma character, not used for scaling.
Percent formats do not mix with scaling. A % multiplies the display by 100. Never apply a scaling format to a percentage, and do not scale a ratio.
Locale changes the separator. The scaling character is the thousands separator of your regional settings. On systems where the thousands separator is a period, as in some European locales, the code for scaling uses a period. A workbook shared across locales is translated by Excel for display, but typing codes by hand requires knowing your own separator.
Mixed units on one sheet. If one block is in millions and another is in whole numbers, label each block. Put the unit in the row or column header next to the figures, not only in the sheet title.
Checking your work. Select a scaled cell and look at the formula bar. If it shows the full value, the scaling is display-only. Press Ctrl+` to show formulas if you need to see how a block is built.
Exercises
Exercise
A cell stores 8,765,432,100. Which format shows it as 8.8 (billions) with a thousands separator and one decimal, and what does the same format display for a stored value of 400,000,000?
Show answer
Use #,##0.0,,,. Three trailing commas divide the display by 1,000,000,000. The stored 8,765,432,100 displays as 8.8. The stored 400,000,000 displays as 0.4, because it is 0.4 billion.
Exercise
A margin cell uses #,##0,_);(#,##0,);"-"_) and holds 350. It shows 0 instead of a dash. Why, and what change would show the value?
Show answer
The dash belongs to the zero section, which applies only to exactly zero. The stored 350 is positive, so it uses the first section, where scaling by 1,000 gives 0.35, which rounds to 0. To see the value, add a decimal place, as in #,##0.0,_), which displays 0.4 (0.35 rounded), or use a smaller scale.