Skip to content

Cell addresses and ranges

Find your way around7 min

A colleague in finance writes that the amounts in C2:C14 don't match the invoices, and that D9 looks wrong. Before you can check, you need to know exactly which cells she means, and how many there are.

How it works

A cell's address is its column letter followed by its row number: B7 is column B, row 7. After column Z the letters double up, AA to AZ, then BA, and so on to the last column, XFD. Excel uses addresses in formulas, in the Name Box and in its messages.

A range is a rectangle of cells, written as its top-left cell, a colon, and its bottom-right cell. A2:D10 means every cell from A2 to D10. Some you'll see often:

  • B2:B9 is part of one column, and A3:F3 part of one row.
  • C:C is the whole of column C, and 5:5 the whole of row 5.
  • A2:A9,C2:C9 is two ranges joined by a comma, with column B left out.

To count the cells in a range, multiply its columns by its rows, counting both ends. A2:D10 has 4 columns (A, B, C and D) and 9 rows (2 to 10), so it holds 36 cells. Subtracting the row numbers gives one too few: 10 minus 2 is 8, and rows 2 to 10 are nine rows.

Example

The stock count for three warehouses fills B2:D6:

B2:D6 takes in columns B to D and rows 2 to 6. That's 3 columns by 5 rows, so 15 cells.

Common mistakes

  • 7B or B-7 isn't an address. Write the letter, then the number, with nothing between them: B7.
  • B2,D5 when you mean B2:D5. The comma means just those two cells, and the colon everything between them.
  • Counting rows by subtracting. Rows 5 to 12 are eight rows, not seven, because both ends count.

In short

  • An address is the column letter, then the row number: B7.
  • A range is two corners with a colon between them: A2:D10 is everything from A2 to D10.
  • A range holds its columns times its rows, counting both ends.
  • Next, select ranges in Select ranges, rows and columns, and add one up in Add it up with SUM.

Practice

3 exercises · free, no account needed

Start practicing
  1. Not started

    1. Select a range by its address

    Selection · easy

  2. Not started

    2. Find the fourth supplier's phone number

    Selection · medium

  3. Not started

    3. How many cells in a range

    Quiz · easy