Excel Data Entry, Ranges and Formatting
Before you calculate anything, you need to enter data correctly and select it in the right way.
Types of Data
Excel recognises what you type:
| You type | Excel sees | Default alignment |
|---|---|---|
Ayesha | Text | Left |
1500 | Number | Right |
15/10/2026 | Date (depending on your region settings) | Right |
12% | Number shown as a percentage (0.12) | Right |
=A1*2 | Formula | Right (the result) |
If a number is aligned to the left, Excel may be treating it as text, and it will not be added in totals. This often happens with data copied from websites.
Entering Data
- Click a cell
- Type the value
- Press Enter to move down, or Tab to move right
Press Esc to cancel while typing, and F2 to edit an existing cell.
Ranges
A range is a group of cells. You write it as the first cell, a colon, and the last cell:
Example
A1:A5 cells A1, A2, A3, A4, A5 (one column)
A1:C1 cells A1, B1, C1 (one row)
A1:C3 a block of 9 cells, 3 columns by 3 rowsTo select a range, click the first cell and drag, or click the first cell and Shift + click the last one.
AutoFill
AutoFill copies or continues a pattern. Type a value, then drag the small square at the bottom right of the cell (the fill handle).
| Type in the first cells | Drag down to get |
|---|---|
Monday | Tuesday, Wednesday, Thursday... |
Jan | Feb, Mar, Apr... |
1 and 2 (two cells) | 3, 4, 5... |
Roll-01 | Roll-02, Roll-03... |
A formula like =B2*C2 | =B3*C3, =B4*C4... |
The last row is very useful: write a formula once and AutoFill it down for every row.
A Small Example Sheet
Ali enters stock for his shop:
| A | B | C | |
|---|---|---|---|
| 1 | Item | Quantity | Price (Rs) |
| 2 | Sugar 1kg | 40 | 160 |
| 3 | Rice 1kg | 25 | 340 |
| 4 | Tea 250g | 30 | 520 |
In D2 he types a formula and fills it down to D4:
Example
=B2*C2| A | D | |
|---|---|---|
| 1 | Item | Stock Value |
| 2 | Sugar 1kg | 6400 |
| 3 | Rice 1kg | 8500 |
| 4 | Tea 250g | 15600 |
Formatting Numbers
Formatting changes how a value looks, not the value itself. Select cells, then use Home > Number, or press Ctrl + 1 for all options.
| Format | Stored value | Shown as |
|---|---|---|
| General | 15600 | 15600 |
| Number with separator | 15600 | 15,600 |
| Currency (Rs) | 15600 | Rs 15,600.00 |
| Percentage | 0.15 | 15% |
| Short date | 46310 | 15/10/2026 |
| Long date | 46310 | Thursday, 15 October 2026 |
Excel stores dates as numbers (days counted from 1 January 1900). That is why you can subtract one date from another to get the number of days between them.
For example, with a joining date in A1 and today's date in B1:
Example
=B1-A1| A | B | C | |
|---|---|---|---|
| 1 | 01/10/2026 | 15/10/2026 | 14 |
Formatting Cells
Make your sheet easy to read:
- Bold the header row (Ctrl + B)
- Add borders from Home > Font > Borders
- Use Wrap Text for long text
- Use Format as Table (Ctrl + T) for automatic colours and filters
- Freeze Panes (View > Freeze Panes > Freeze Top Row) keeps headers visible when scrolling
Exercise
Exercise
Which range contains exactly the cells B2, B3, B4 and B5?
