Sub topic 3
Selecting faster with the keyboard and Name Box
This chapter assumes you can open a workbook, enter data and simple formulas, and recognize A1 notation such as B2 and B2:D10. It also assumes you have already selected cells with the mouse. Here you will learn faster ways to make the same selections.
Why use the keyboard
Dragging works well for small ranges. On a sheet with thousands of rows, it is slow and easy to get wrong. Keyboard shortcuts and the Name Box let you select a large range in one or two steps, without scrolling.
Extending a selection with Shift
Hold Shift and press an arrow key to extend the selection one cell at a time from the active cell. The active cell is the one that stays white inside a selected range. The selection grows from it.
Add Ctrl to jump to the edge of a data block. A data block is a run of filled cells with no empty cells in it.
| Shortcut | Result |
|---|---|
| `Shift` + arrow | Extends the selection by one cell |
| `Ctrl` + arrow | Moves to the edge of the current data block |
| `Ctrl` + `Shift` + arrow | Selects from the active cell to the edge of the data block |
| `Ctrl` + `Shift` + `End` | Selects from the active cell to the last used cell on the sheet |
| `Ctrl` + `A` | Selects the current data region. Pressed again, it selects the whole sheet |
| `Ctrl` + `Space` | Selects the entire column |
| `Shift` + `Space` | Selects the entire row |
A common pattern is to click the first header cell, then press Ctrl + Shift + Right and Ctrl + Shift + Down. This selects the whole table, however long it is.
Selecting with the Name Box
The Name Box is the small field to the left of the formula bar. It shows the address of the active cell. You can also type into it.
Name Box: B2:D10
Press Enter to select the range B2:D10Click the Name Box (or press F5 for the Go To dialog), type an address, and press Enter. The sheet scrolls to the range and selects it. This is the fastest way to select a range far from your current position.
The Name Box accepts more than one kind of address:
- A single cell, such as
Z500. - A range, such as
A1:F200. - A whole column or row, such as
C:Cor5:5. - Several areas separated by commas, such as
A1:A10,C1:C10.
The last form selects non-adjacent areas in one step. You can then apply formatting or enter a value to all of them at once.
Adding non-adjacent areas
With the mouse, hold Ctrl while you click or drag to add another area to the selection. To add areas using only the keyboard, press Shift + F8. This turns on Add to Selection mode, so you can move to a new area and select it without losing the first. Press Shift + F8 again to turn the mode off.
Common errors
- Selecting too little.
Ctrl+Shift+ arrow stops at blank cells. Press it again to continue to the next block. - Selecting too much.
Ctrl+Shift+Endincludes cells that were once used and then cleared. Excel still counts them as part of the used range. - Typing a name by accident. If you type a word such as
Totalinto the Name Box and pressEnter, Excel creates a named range instead of selecting a cell. Use a valid address. - Forgetting Add mode is on. After
Shift+F8, the status bar shows "Add to Selection". PressShift+F8again, or pressEsc, before you make a new selection.
Exercise
A table has headers in A1:E1 and data below them, with no blank cells. Your active cell is A1. Which two shortcuts select the whole table, and what could you type in the Name Box to select only column C?
Show answer
Press Ctrl + Shift + Right to select the header row, then Ctrl + Shift + Down to extend the selection to the last data row. To select column C, type C:C in the Name Box and press Enter.