Sub topic 6
Navigating and selecting with the keyboard
This chapter assumes you can enter data and formulas in Excel, copy cells, and use relative and absolute references. It also assumes you know basic statement terms such as revenue and EBITDA. The shortcuts below use Windows key names. Cells and ranges are the only objects involved, so the examples work in any workbook.
Why navigation speed matters in a model
A typical operating model has 60 monthly columns, a few hundred rows, and a separate sheet for each statement. Scrolling with the mouse in that space is slow. It also hides errors, because you only see the part of the sheet you scrolled to. Keyboard navigation lets you jump to the edge of a block, check that the totals sit where you expect, and select a whole row of forecast formulas in a few keystrokes.
Navigation and selection also underpin the editing and auditing shortcuts in later chapters. You can't fill a formula across a row, or check a row for consistency, until you can select that row quickly.
Jumping to the edge of a data region
Ctrl+Arrow moves the active cell to the edge of the current block of data. The rule has three parts:
- If the active cell and the next cell in that direction are both filled, Excel moves to the last filled cell before a blank.
- If the active cell is filled but the next cell is blank, Excel moves to the next filled cell.
- If there is no further filled cell, Excel moves to the sheet edge.
Add Shift to the same keys and Excel selects every cell between the starting cell and the destination.
Ctrl+Arrow Jump to the edge of a data region
Ctrl+Shift+Arrow Select to the edge of a data region
Shift+Arrow Extend the selection one cell
Ctrl+Home Go to A1 (or the top-left cell below frozen panes)
Ctrl+End Go to the last used cell
Ctrl+Shift+End Select from the active cell to the last used cell
Ctrl+PageUp/Down Previous / next worksheet
Alt+PageUp/Down Move one screen left / right
Ctrl+Backspace Scroll the window back to the active cellWorked example
Suppose row 5 holds month-end dates in columns D to BK, and row 8 holds revenue in the same columns. With the cursor in D8:
- Press Ctrl+Right. The cursor lands in BK8, the last month.
- Press Ctrl+Left. The cursor returns to D8.
- Press Ctrl+Shift+Right from D8. Excel selects D8:BK8, the whole revenue row, ready for a format or a consistency check.
From the top of a column of line items, Ctrl+Down takes you to the bottom of the block. This is a fast way to confirm that a total row exists and that nothing is missing below it.
Blank cells and other things that stop the jump
Ctrl+Arrow stops at every blank cell, so it only follows an unbroken block. Three situations commonly cause surprises:
- A stray blank in a row. If one month's revenue cell is empty, Ctrl+Right stops one cell short of it. This stop is a useful signal, because a blank in a row of formulas is usually a mistake. It also means you can't rely on Ctrl+Arrow alone to find the true last column.
- Cells that look empty but are not. A formula returning "" (an empty string) is not blank to Excel. Ctrl+Arrow treats it as filled and stops on it.
- Hidden rows and columns. The jump skips hidden rows and columns, so the cursor can land in a row you can't see. Check the row numbers after a jump in a filtered or grouped sheet.
Ctrl+End has its own edge case. It goes to the last cell Excel considers used, which can include cells that once held data or formatting and are now empty. If Ctrl+End takes you to row 5,000 on a sheet that ends at row 200, the file carries leftover formatting. This enlarges the file and slows scrolling. Delete the unused rows and columns, then save the file, to reset the used range.
Selecting rows, columns, and regions
Selection shortcuts let you apply a format or a check to a whole structural unit without dragging.
Ctrl+Space Select the entire column of the active cell
Shift+Space Select the entire row of the active cell
Ctrl+A Select the current region; press again to select the whole sheet
Ctrl+Shift+* Select the current region around the active cell
F8 Turn Extend Selection mode on or off
Shift+F8 Add a non-adjacent selection (Add to Selection mode)The current region is the block of cells bounded by blank rows and blank columns. Ctrl+A inside a model block selects that block, and a second press selects the whole sheet. This is why Ctrl+A is a safe way to select a data table but a risky way to format a sheet. If you only want the table, press it once and look at the highlighted area.
F8 is useful when your hands are on the keyboard and you want to plan a selection in steps. Press F8, move with the arrow keys or Ctrl+Arrow, then press Enter or Esc to finish. The status bar shows "Extend Selection" while the mode is on. Forgetting that the mode is on is a common reason for cursor movement suddenly selecting cells.
Going directly to a cell or name
Go To jumps to any reference without scrolling.
- Press F5 or Ctrl+G, type a reference such as
BK120, and press Enter. - Click the Name Box to the left of the formula bar (or press Alt+H, F, D, G on older ribbons), type a reference or a named range, and press Enter. The model's key inputs are usually named, so typing
Tax_Ratetakes you straight to the assumption. - Typing a range such as
D8:BK8in the Name Box selects that range, not only the first cell.
Go To also keeps a history of the references you used, which makes it easy to bounce between two distant cells. The Special button on the same dialog opens Go To Special. Pressing Ctrl+G and then Alt+S reaches it directly. The auditing chapter covers it in detail.
Choosing a shortcut
Common mistakes
- Trusting Ctrl+Arrow to find the end of a timeline. A single blank breaks it. Confirm the last column by checking the period header row, which should have no gaps.
- Selecting with Ctrl+A and formatting too much. The second press selects the entire sheet, which can add formatting to a million rows and inflate the file.
- Leaving Scroll Lock on. With Scroll Lock enabled, the arrow keys scroll the window and the active cell does not move. Press Scroll Lock again, or use the on-screen keyboard if your laptop has no such key.
- Losing the active cell. After scrolling with the mouse, press Ctrl+Backspace to bring the window back to the active cell.
- Ignoring frozen panes. Ctrl+Home goes to the first unfrozen cell, not always A1, when panes are frozen. This is the behavior you want in a model with frozen headers.
Exercise
A revenue row in a model has formulas in D8:BK8, except that cell Q8 is accidentally empty. The cursor is in D8. What does Ctrl+Right do, and what do you gain from that behavior?
Show answer
The cursor stops at P8, the last filled cell before the blank, instead of reaching BK8. This is useful as a quick check, since it exposes the gap in the row. To select the whole row anyway, click D8, then use Name Box entry of D8:BK8, or press Ctrl+Shift+Right twice, once to reach P8 and once to cross the gap.
Exercise
Ctrl+End on a sheet takes you to row 4,800, but your model ends at row 210. What probably caused this, and how do you fix it?
Show answer
Excel's used range includes cells that held data or formatting earlier. Select and delete the unused rows and columns below the model (Ctrl+Shift+End helps you see the extent), then save the workbook. Saving resets the used range, and Ctrl+End then lands on the real last cell.