Chapter 2 · Workbooks and Data Entry
Enter Text, Numbers and Dates
How Excel decides what you typed, and why it matters.
8 min 3 hands-on tasks
Excel decides the type of everything you type:
- Numbers align to the right and can be calculated.
- Text aligns to the left.
- Dates are stored as numbers (days since 1 January 1900), so they align right too.
If a column of numbers aligns left, Excel is treating them as text and SUM will ignore them.
| Entry | Value |
|---|---|
| Quantity | 125 |
| Name | Laptop |
| Code | 00125 |
- Excel can tell numbers from text. A number lines up on the right of its cell, like 125 here.
- Text lines up on the left, like Laptop here.
- Codes like
00125would lose their zeros as numbers. Typing an apostrophe first stores them as text, so the zeros stay.
Editing tips
- Typing into a filled cell replaces it. Press F2 to edit it instead.
- Start an entry with an apostrophe to keep it as text:
'00125keeps its leading zeros. - Ctrl + ; enters today's date.
#####in a cell means the column is too narrow. Double-click the column border to fit it.
Practise it
The hands-on tasks in this lesson, checked live in the spreadsheet:
- Enter the quantity
125in B2. - Product codes need their leading zeros. Enter
'00125in B3 (with the apostrophe). - Enter the price
4.99in B4.
Excelio