Sub topic 1
Cells, the Active Cell, and the Formula Bar
Every piece of data in Excel lives in a cell. Before you type, edit, or fill anything, you need a clear model of three things: what a cell is, which cell will receive your keystrokes, and where Excel shows what a cell actually contains. This chapter builds that model and points out the errors that most often come from misreading it.
Prerequisites
This chapter assumes you can do the following:
- Open Excel and open or create a workbook.
- Recognize rows (numbered), columns (lettered), and cells (the boxes where they cross).
- Use a mouse and the arrow keys.
It does not assume you have typed formulas or changed number formats before.
What a cell is
A cell is the intersection of one column and one row. Its address, also called its reference, is the column letter followed by the row number. The cell in column C, row 2 is C2.
A worksheet has 16,384 columns (A to XFD) and 1,048,576 rows. A workbook can hold many worksheets. To refer to a cell on another sheet, you add the sheet name: Sheet2!C2. If the sheet name contains spaces, put it in single quotes: 'Sales 2026'!C2.
A cell holds up to 32,767 characters. Only the first 1,024 or so display in the cell itself, but the formula bar can show the full content.
A cell has two separate parts:
- Contents: what you typed or what a formula produces. This can be text, a number, a date, or a formula.
- Formatting: how the contents look, such as number format, font, fill color, and alignment.
Keeping these two parts separate matters in later chapters. For now, remember that changing how a cell looks does not necessarily change what it holds.
The active cell and the selection
The active cell is the one cell that receives what you type. Excel draws a thick border around it. Its address appears in the Name Box, at the left end of the formula bar area.
The selection is the set of cells currently highlighted. The selection can be one cell, a range, or several separate ranges. Even when many cells are selected, there is still exactly one active cell. It is the one that stays white while the rest of the selection is shaded.
This distinction explains a common surprise. If you select A1:C3 and start typing, the text goes only into the active cell, not into all nine.
Ways to move the active cell
| Action | Result |
|---|---|
| Click a cell | Makes it the active cell |
| Arrow keys | Move one cell in that direction |
| Ctrl+Arrow | Jump to the edge of the current block of data |
| Ctrl+Home | Go to `A1` |
| Ctrl+End | Go to the last cell that has been used |
| Page Up / Page Down | Move one screen up or down |
| F5 or Ctrl+G | Open Go To, then type an address |
| Type an address in the Name Box, press Enter | Go directly to that cell or range |
Ctrl+End goes to the intersection of the last used row and last used column. After you delete data, it can still land on empty cells, because Excel remembers the earlier extent until the workbook is saved.
Selecting more than one cell
- Drag across cells to select a rectangular range.
- Click one cell, then Shift+click another to select everything between them.
- Hold Ctrl and click or drag to add separate cells or ranges.
- Click a column letter or row number to select the whole column or row.
- Press Ctrl+A to select the current data region. Press it again to select the whole sheet.
A range is written with a colon: A1:C3 means the rectangle from A1 to C3. Separate ranges are joined with a comma in a formula, as in A1:A3,C1:C3.
The formula bar
The formula bar sits above the column letters. It has three parts:
- The Name Box on the left, which shows the address of the active cell or the name of a named range.
- The Cancel (X), Enter (check mark), and Insert Function (
fx) buttons in the middle. The Cancel and Enter buttons appear only while you are entering or editing. - The input area on the right, which shows the true contents of the active cell.
The key point is that the formula bar shows what is stored, and the cell shows what is displayed. For a formula, the two differ. Suppose A2 holds 4 and B2 holds 5, and you type this into C2:
=A2*B2After you press Enter, C2 displays 20, but the formula bar shows =A2*B2 whenever C2 is the active cell. The same gap appears with dates, percentages, and rounded numbers. A cell showing 0.33 might hold 0.333333333333333, and the formula bar will show the longer value. Check the formula bar before you decide that a cell contains what it appears to contain. A later chapter covers stored versus displayed values in detail.
If a cell's contents are long, you can expand the formula bar with the arrow at its right end or with Ctrl+Shift+U. Collapse it again with the same shortcut.
Hidden contents
If the formula bar is empty but the cell shows something, check for a formula that returns a value from elsewhere, or for a cell whose protection setting hides formulas. If a cell appears blank but the formula bar shows content, the content may be a space, a formula that returns "", or text formatted with a white font.
If the formula bar itself is missing, turn it on from the View tab by checking Formula Bar.
Cell modes
Excel is always in one of several modes. The mode is shown at the left of the status bar at the bottom of the window.
| Mode | When it appears | What the arrow keys do |
|---|---|---|
| Ready | Nothing is being typed | Move the active cell |
| Enter | You start typing in a cell | Commit the entry and move the active cell |
| Edit | You press F2 or double-click a cell | Move the insertion point inside the text |
| Point | You are building a formula and click a cell or press an arrow key | Move the reference being inserted |
The Enter and Edit modes look almost identical, but the arrow keys behave differently. This is the source of a frequent error. You type a value, press the Left arrow expecting to move the cursor in the text, and instead the entry is committed and the active cell moves. Pressing F2 switches from Enter to Edit mode so that the arrow keys move within the text. The next chapters cover committing and editing in detail.
Common errors
- Typing into the wrong cell. The active cell moved after an Enter or Tab. Look at the Name Box before you type.
- Expecting a selection to fill all its cells. Only the active cell receives typed input. Ctrl+Enter, covered later, fills the whole selection.
- Trusting the grid over the formula bar. The grid shows the formatted result. The formula bar shows what is stored.
- Missing a cell reference after inserting rows or columns. Addresses are positions. Excel updates formulas that point to moved cells, but a note you wrote down such as "the total is in C20" will not update.
- Confusing Name Box entries with typing in a cell. Typing in the Name Box and pressing Enter navigates to that address. It does not enter data. Typing a new word there and pressing Enter creates a name for the selection, which can be surprising.
Practice
Exercise
You select the range B2:D4 by dragging from B2 to D4, then type the word "Total" and press Enter. Which cell holds the word, and which cell is active afterward?
Show answer
The word goes into B2, the active cell where the drag began. After Enter, the active cell moves to B3, the next cell down within the selection. Typing never fills the whole selection, only the active cell.
Exercise
Cell E5 shows 0.33, but you suspect the stored value is more precise. How can you check, and what would you expect to see?
Show answer
Select E5 and read the formula bar, which shows the stored value. If the cell holds 1/3 as a calculation, you would see something like 0.333333333333333 or the formula that produced it, while the grid shows only 0.33 because of the number format.