Sub topic 9
Number formats change display, not values
This chapter assumes you can enter formulas and copy cells, and that you know relative and absolute references. It also assumes you know basic statement terms such as revenue and margin. By the end, you should be able to tell what a cell stores from what it shows, and to find the cases where the two disagree.
Stored value versus displayed value
Every numeric cell holds one value, a binary floating-point number with about 15 significant digits. A number format is a separate rule that turns that value into the text you see on the grid. Formulas, charts, and lookups all use the stored value. They never use the displayed text.
The formula bar shows the stored value, up to the precision Excel keeps. The grid shows the formatted version. When the two differ, the formula bar is the one to trust.
A worked example of the mismatch
Suppose three cost lines each hold 0.6 and are formatted with no decimals.
| Cell | Stored value | Format | Displayed |
|---|---|---|---|
| B2 | 0.6 | `#,##0` | 1 |
| B3 | 0.6 | `#,##0` | 1 |
| B4 | 0.6 | `#,##0` | 1 |
| B5 (`=SUM(B2:B4)`) | 1.8 | `#,##0` | 2 |
A reader adds 1 + 1 + 1 and gets 3, but the total shows 2. Nothing is wrong with the formula. The total is 1.8, which displays as 2, and each line is really 0.6. Models run into this all the time. Rounding differences like this are usually accepted in published statements, but you should know about them and decide how to handle them.
You have two main options:
- Leave the stored values alone and accept that displayed totals may differ from the sum of displayed lines by a rounding unit. Many analysts add a note saying figures may not sum due to rounding.
- Round inside the formulas, so the stored value matches what is shown.
=ROUND(B2,0)ROUND changes the stored value. A format never does. Use ROUND only where the rounded number is the number the model should carry forward, for example a whole-unit headcount or a share count. Do not use it just to make a printout tidy, because it throws away information that later calculations may need.
How to see what a cell really holds
Before you trust a number, check it with one of these:
- Select the cell and read the formula bar. A hardcode shows its full typed value. A formula shows the formula, so use F2 to enter the cell and F9 inside the edit to preview the result, then press Esc to cancel. Never press Enter after F9, because that replaces the formula with its value.
- Press Ctrl+Shift+~ to apply the General format and see how many digits the cell holds.
- Add decimal places temporarily with Alt+H, 0.
- Compare with a test formula in a scratch cell.
=B5=ROUND(B5,0)This returns FALSE for 1.8, which proves the cell is not a whole number even though it looks like one.
Because binary arithmetic can leave tiny residues far to the right of the decimal point, equality tests on computed values are fragile. Compare with a tolerance or with ROUND instead of using a bare =.
=ABS(C10-D10)<0.001Formats that rescale or relabel the value
Some formats make the display look quite different from the stored value, and they are common in models.
- Percentage. A cell storing 0.075 and formatted
0.0%shows 7.5%. The format multiplies by 100 only for display. The stored value stays 0.075. If you type 7.5 into a cell that is already percent-formatted, Excel normally stores 0.075. If you type 7.5 into a General cell and then apply the percent format afterwards, you get 750%. - Multiples. A cell storing 8.25 with the format
0.0"x"shows 8.3x. The "x" is a literal label, so the cell is still a number and can be multiplied. - Scaling. Trailing commas in a format divide the display by 1,000 per comma. A cell storing 12,345,678 can show 12.3 while still holding the full value. Chapter content on thousands and millions covers this in detail. The relevant point here is that the stored number is never reduced.
- Dates. A date is a serial number counting days from a start date. The cell holding 31 March 2026 stores a number around 46,112, and
mmm-yydisplays it as Mar-26. Changing a date cell to General reveals the serial number.
The following formats show the idea. Each one only affects display.
0.0%_);(0.0%);"-"_)0.0"x"_)A model-wide consequence: when someone reports that a figure "is 12.3", ask which number they mean. The cell may display 12.3 but store 12,345,678.
Text that looks like a number
A format cannot turn text into a number. A cell can display 1,250 but actually hold a text string, typically after a paste from a PDF, a web page, or a system export. Signs that this has happened include left-aligned numbers, a green triangle in the corner, and a total that ignores the cell.
Check with a test formula.
=ISNUMBER(B2)If it returns FALSE, convert the text. Options include Data > Text to Columns on the column and finishing, multiplying by 1 in a helper column, or using VALUE.
=VALUE(B2)Applying a number format to such a cell does nothing, because formats apply only to numbers. The same is true of the TEXT function. =TEXT(B5,"0.0") returns a text string, not a number, and anything that depends on it will break arithmetic. Use TEXT only inside labels, such as a heading built with ="Revenue growth: "&TEXT(C12,"0.0%").
Precision as displayed
Excel has a workbook option, "Set precision as shown", under File > Options > Advanced. When it is on, Excel permanently rounds each stored constant to its displayed precision.
Common errors
- Reading a formatted total as exact and reconciling it to the digit against another report, then chasing a one-unit "error" that is only rounding.
- Hardcoding a number that was copied from the screen, so the model carries the displayed 12.3 instead of the true 12,345,678. Link to the cell instead of retyping.
- Pasting values from a rounded display. Paste Special > Values keeps the stored value, not the displayed one, but copying text from another application brings only the text.
- Using a
TEXTresult in later arithmetic. - Applying percent format to a ratio that is already scaled, such as 7.5 for 7.5%.
Exercise
Cell C4 holds the formula =10/3 and is formatted as #,##0.0. Cell C5 holds =C4*3 with the same format. What do C4 and C5 display, what do they store, and does C5 equal exactly 10 in a model that rounds C4 with =ROUND(10/3,1)?
Show answer
C4 displays 3.3 but stores 3.3333333333 (about 15 significant digits). C5 displays 10.0 because it stores approximately 10. With C4 changed to =ROUND(10/3,1), C4 stores 3.3, so C5 stores 9.9 and displays 9.9. The format never changed the first result. ROUND changed the stored value and so changed everything that depends on it.
Exercise
A column of "numbers" displays correctly but the total in the cell below is 0. Which function confirms the cause, and what is the likely cause?
Show answer
=ISNUMBER on one of the cells returns FALSE. The cells hold text, for example after a paste from a PDF or export. A number format cannot fix this. Convert the values with Text to Columns, VALUE, or multiplying by 1.