Sub topic 1
Cells and Their Addresses
Every Excel formula you write points at cells. Before you build one, you need to read and write cell addresses without hesitation. This chapter covers how Excel names each cell, how to find the address of the cell you have selected, and how to jump to any cell.
Prerequisites
This chapter assumes you can already do the following:
- Open a workbook and select a cell by clicking it.
- Type a value into a cell and press Enter.
- Do basic arithmetic and recognize that some operations come before others.
You do not need to know any formula syntax yet.
The grid of cells
A worksheet is a grid. Vertical strips are columns, and horizontal strips are rows. A cell is the box where one column and one row cross. Each cell holds one value, such as a number, a piece of text, or later a formula.
Excel labels columns with letters and rows with numbers:
- Columns run A to Z, then AA, AB, and so on, up to XFD. That is 16,384 columns.
- Rows run from 1 to 1,048,576.
You can see these labels in the gray headers along the top and left edge of the sheet.
What a cell address is
A cell address is the column letter followed by the row number, with no space or symbol between them. The cell in column B and row 3 is B3.
The order matters. The letter always comes first. 3B is not a valid address.
| Address | Column | Row |
|---|---|---|
| A1 | A | 1 |
| B3 | B | 3 |
| D10 | D | 10 |
| AA2 | AA | 2 |
Excel ignores case in addresses, so b3 and B3 mean the same cell. Excel usually shows the capital form.
The address is not the content
Beginners often mix up the address and the value stored in the cell. The address says where the cell is. The content is what you typed into it.
Suppose you type 25 into the cell at column B, row 3. The address of that cell is still B3, and its content is 25. If you later replace the 25 with 40, the address stays B3. This is why formulas use addresses. A formula that points to B3 keeps working when the value in B3 changes.
Finding the address of the selected cell
When you click a cell, Excel marks it with a green border. This is the active cell. Two things tell you its address:
- The Name Box, at the left end of the formula bar above the grid, shows the address of the active cell.
- The column header and the row header of the active cell are highlighted.
Try it. Click a cell near the middle of the sheet and read the Name Box. Then press the arrow keys and watch the address change as you move.
Jumping to a cell by address
You can also use an address to move around. Click in the Name Box, type an address such as D10, and press Enter. Excel selects that cell and scrolls to it if needed. This is faster than scrolling in a large sheet.
Pressing Ctrl+G (or F5) opens the Go To dialog. You can type an address there too.
Groups of cells: ranges
A range is a block of cells treated as one unit. You write it as the address of the first cell, a colon, and the address of the last cell. For example, A1:B3 means the rectangle from A1 down to B3. That is six cells: A1, B1, A2, B2, A3, and B3.
You do not need ranges for simple arithmetic, but you will see them in the Name Box when you drag to select several cells. Recognizing the format now will help later.
Cells on other sheets
A workbook can have several worksheets, each shown as a tab at the bottom. The address B3 exists on every sheet, so Excel needs a way to say which sheet you mean. It puts the sheet name first, followed by an exclamation mark: Sheet2!B3. For now, work on one sheet. You will meet this form when formulas reach across sheets.
Seeing an address in a formula
You will write real formulas in the next chapter. Here is a preview so the address has something to attach to. If cell A1 holds 5, typing this into another cell makes that cell show 5:
=A1The formula does not contain the number 5. It contains the address A1, and Excel looks up whatever A1 holds. Change A1 to 9 and the formula's cell shows 9 without any retyping.
Common mistakes
- Reversing the order. Writing
3Binstead ofB3is not a valid address. - Counting the wrong header. Letters label columns and numbers label rows. If you read the address as row first, you will land in the wrong cell.
- Confusing a typed value with an address. Typing
B3into a cell as plain text puts the characters B and 3 in it. Only a formula treatsB3as a location. - Trusting your eyes on wide columns. When a sheet is scrolled, check the Name Box instead of guessing from the visible headers.
Exercise
A worksheet has the text "Rent" in column C, row 7, and the number 950 in column D, row 7. What are the addresses of the two cells? If you click the cell holding 950, what will the Name Box show?
Show answer
"Rent" is in C7 and 950 is in D7. After you click the cell holding 950, the Name Box shows D7. The address is the column letter followed by the row number, and it does not change when the cell's content changes.
Exercise
You are in cell A1 on a long sheet and want to select cell F250 without scrolling. Describe two ways to do it.
Show answer
Click the Name Box, type F250, and press Enter. Or press Ctrl+G, type F250 in the Go To dialog, and press Enter. Both select F250 and scroll it into view.