Sub topic 12
Entering Data Across a Selected Range and with Ctrl+Enter
This chapter assumes you can select cells, type an entry, and commit it with Enter, Tab, or Esc. It covers two ways to speed up entry: typing inside a selected range, and filling a whole range with one entry.
Typing inside a selection
When you select a range and start typing, the active cell is the one cell in the range that stays white. The rest of the range is shaded. Enter and Tab then move the active cell only within the selection, so you cannot walk out of it by accident.
- Enter moves down the current column. At the bottom of the range, it jumps to the top of the next column.
- Tab moves right along the current row. At the end of the row, it jumps to the start of the next row.
- Shift+Enter and Shift+Tab move in the opposite directions.
This works well for filling a small table. Select the block first, then type each value and press Tab or Enter. You never need to reach for the mouse.
The selection keeps its shading after each entry. Clicking any cell outside the range cancels the selection, and the next Enter moves normally again.
Filling a range with Ctrl+Enter
Ctrl+Enter commits an entry into every selected cell at once. Follow these steps.
- Select the range, for example B2:B20.
- Type the entry. Do not press Enter yet.
- Press Ctrl+Enter.
The entry can be text, a number, a date, or a formula. Excel applies the usual interpretation rules to each cell, so '00123 stays text in all of them.
With formulas, Ctrl+Enter adjusts relative references for each cell, just as copying does. Suppose you select C2:C20 and type this formula.
=A2*B2After Ctrl+Enter, C2 holds =A2*B2, C3 holds =A3*B3, and so on down the range. The active cell is the reference point. Type the formula as if you were writing it for the active cell only.
The selection does not need to be contiguous. Hold Ctrl while you click or drag to select several separate areas, then type once and press Ctrl+Enter. Every selected cell receives the entry.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| Only one cell changed | You pressed Enter instead of Ctrl+Enter | Reselect the range and use Ctrl+Enter |
| Formula shows the same result in every cell | References are absolute (`$A$2`) | Remove the dollar signs where the reference should change |
| Cursor leaves the block | The selection was only one cell | Select the full range before typing |
| Existing data disappeared | The range included filled cells | Undo, then select only the empty cells |
When to use which method
Use a selection with Enter or Tab when each cell needs a different value. Use Ctrl+Enter when many cells need the same value or the same formula pattern. For a series such as 1, 2, 3, or for copying down from a neighbor, the fill handle (covered in a later chapter) is usually quicker.
Exercise
You select D2:D50 and type =B2+C2, then press Enter. Only D2 contains the formula. What should you press to fill the whole range, and what will D3 contain?
Show answer
Reselect D2:D50, type =B2+C2, and press Ctrl+Enter. D3 will contain =B3+C3, because the relative references adjust for each cell.
Exercise
You select a 3-row by 2-column range starting at A1 and press Enter four times without typing. Which cell is active?
Show answer
B1. Enter moves down column A through A1, A2, A3, then jumps to the top of column B. After four presses the active cell is B1.