Excel Tutorial menu

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 typeExcel seesDefault alignment
AyeshaTextLeft
1500NumberRight
15/10/2026Date (depending on your region settings)Right
12%Number shown as a percentage (0.12)Right
=A1*2FormulaRight (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

  1. Click a cell
  2. Type the value
  3. 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

text
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 rows

To 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 cellsDrag down to get
MondayTuesday, Wednesday, Thursday...
JanFeb, Mar, Apr...
1 and 2 (two cells)3, 4, 5...
Roll-01Roll-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:

ABC
1ItemQuantityPrice (Rs)
2Sugar 1kg40160
3Rice 1kg25340
4Tea 250g30520

In D2 he types a formula and fills it down to D4:

Example

text
=B2*C2
AD
1ItemStock Value
2Sugar 1kg6400
3Rice 1kg8500
4Tea 250g15600

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.

FormatStored valueShown as
General1560015600
Number with separator1560015,600
Currency (Rs)15600Rs 15,600.00
Percentage0.1515%
Short date4631015/10/2026
Long date46310Thursday, 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

text
=B1-A1
ABC
101/10/202615/10/202614

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?

Learn Excel with a teacher

Join the CIT (Computer Information Technology) course at Workownix, online or in Orangi Town, Karachi, and get a certificate.

See the course Ask on WhatsApp