Sub topic 5
Percentage, scientific, and fraction formats
This chapter assumes you can apply a format from Format Cells or the Ribbon, and that you know a format changes how a value looks, not what is stored. Here you will use three built-in formats that show the same stored number in a different way.
Percentage format
The Percentage format multiplies the stored value by 100 and adds a percent sign. The cell still holds the original number. If a cell holds 0.25, the format shows 25%. The decimal places setting controls the rest, so 0.2567 shows as 26% with zero decimals and 25.67% with two.
The order of actions matters when you type data.
- If you format an empty cell as Percentage first, typing 25 gives 25%, and the stored value is 0.25.
- If you type 25 into a General cell and then apply Percentage, you get 2500%, because the stored value 25 is multiplied by 100.
- Typing 25% into any cell stores 0.25 and applies the format for you.
Because the stored value is a plain decimal, formulas work without extra steps. If A1 holds 200 and B1 holds 15%, then =A1*B1 returns 30.
Scientific format
The Scientific format shows a number as a coefficient times a power of ten, written with E. The value 12345 with two decimals shows as 1.23E+04. A very small value such as 0.00042 shows as 4.20E-04. It suits very large or very small numbers, such as measurements. The stored value keeps its full precision.
You can write the same layout as a custom code. The code 0.00E+00 shows 12345 as 1.23E+04. The digits after E set the minimum exponent width.
Fraction formats
The Fraction category shows the decimal part of a number as a fraction. Excel finds the closest fraction that fits the chosen number of digits.
| Format | Stored value | Displays |
|---|---|---|
| Up to one digit | 0.75 | 3/4 |
| Up to two digits | 0.3333 | 33/100 or 1/3, depending on the closest fit |
| As halves | 0.4 | 1/2 |
| Up to one digit | 2.5 | 2 1/2 |
A fraction format rounds the displayed fraction to fit the digit limit. A value of 0.3333 in an "Up to one digit" cell shows 1/3, but the stored value is still 0.3333. You can also use fixed denominators such as halves, quarters, eighths, sixteenths, tenths, and hundredths.
The custom code # ?/? gives a one-digit fraction, and # ??/?? allows two digits.
Common errors
- A percentage that looks 100 times too large usually means Percentage was applied to a value already written as a whole number.
- A fraction that looks slightly off comes from the digit limit. Allow more digits to get a closer match.
- A scientific value that looks short is only a display limit. Check the formula bar for the full value.
Exercise
A cell holds 0.08 and uses the General format. You apply Percentage with zero decimals. What does the cell show, and what value does the formula bar hold?
Show answer
The cell shows 8%. The formula bar shows 0.08, because the format changes only the display.
Exercise
You format an empty cell as Percentage and type 5. What is stored, and what is shown?
Show answer
The stored value is 0.05, and the cell shows 5%. Excel treats the typed number as a percent when the cell is already formatted as Percentage.