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

Learn "Enter Text, Numbers and Dates" by doing it: a live spreadsheet that checks your answers.Try this lesson

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.

EntryValue
Quantity125
NameLaptop
Code00125
  1. Excel can tell numbers from text. A number lines up on the right of its cell, like 125 here.
  2. Text lines up on the left, like Laptop here.
  3. Codes like 00125 would 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: '00125 keeps 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:

  1. Enter the quantity 125 in B2.
  2. Product codes need their leading zeros. Enter '00125 in B3 (with the apostrophe).
  3. Enter the price 4.99 in B4.
Enter Text, Numbers and Dates: Excel Tutorial | Excelio