Sub topic 2
Entering data: Enter, Tab, and Esc
This chapter assumes you can open a workbook, you know what rows, columns, and cells are, and you can select a cell with the mouse or arrow keys. Here you learn how an entry moves from your keyboard into a cell, and how to finish or abandon it.
Typing is not saving
When you select a cell and start typing, Excel enters Enter mode. The text appears in both the cell and the formula bar, but it is not yet part of the worksheet. Excel holds it as a pending entry until you commit it or cancel it.
While an entry is pending, the status bar at the bottom left shows "Enter". Most commands in the ribbon are unavailable until you finish, and the arrow keys add references to a formula instead of moving the selection if you started with =.
Committing an entry
Several keys commit what you typed. They differ only in where the active cell goes next.
| Key | Commits the entry | Active cell moves |
|---|---|---|
| Enter | Yes | Down one cell |
| Shift+Enter | Yes | Up one cell |
| Tab | Yes | Right one cell |
| Shift+Tab | Yes | Left one cell |
| Ctrl+Enter | Yes | Stays in place |
| Click the check mark in the formula bar | Yes | Stays in place |
Clicking another cell also commits the entry, with one exception: if you are typing a formula, a click inserts a cell reference instead of committing.
Canceling an entry
Press Esc while the entry is pending to discard it. The cell returns to what it held before you started typing. You can also click the X next to the formula bar. Once you have committed, Esc can no longer help. Use Undo (covered in a later chapter) instead.
Entering a row of data efficiently
Tab and Enter work together. If you type across a row using Tab and then press Enter, the active cell jumps back to the column where you started Tabbing, one row down. This lets you fill a table row by row without touching the mouse.
Try it with this sequence, starting in A1:
- Type
Item, press Tab. - Type
Qty, press Tab. - Type
Price, press Enter. The active cell is now A2, not A4. - Type
Pen, press Tab, type10, press Tab, type1.5, press Enter. The active cell is now A3.
This return-to-start behavior only works if you used Tab without clicking or using arrow keys in between. An arrow key or a mouse click resets the starting column.
Changing where Enter goes
The downward move after Enter is a setting. Go to File > Options > Advanced, and under Editing options look for After pressing Enter, move selection. You can choose Down, Right, Up, or Left, or clear the box so the active cell stays put. This setting belongs to the Excel application, not to the workbook, so it applies to every file you open.
Common errors
- Typing, then reaching for a ribbon button that is grayed out. The entry is still pending. Press Enter or Esc first.
- Pressing Enter and finding you have overwritten a cell. Typing into a cell that already has content replaces it entirely. If you did not mean to, press Esc before committing, or Undo afterward.
- Expecting Enter to move you down a column you have not been using. Because of the Tab-then-Enter return behavior, you may land in an unexpected column. Click your target cell to reset.
Exercise
You are in cell B2 and type Total. You realize you meant to leave B2 as it was. Which key do you press, and what happens to the old contents of B2?
Show answer
Press Esc. The pending entry is discarded and B2 keeps its previous contents. If you had already pressed Enter, Esc would have no effect and you would need Undo.
Exercise
You start in B5, type a value, press Tab, type a value in C5, press Tab, type a value in D5, then press Enter. Which cell is active?
Show answer
B6. Enter returns to the column where the Tab sequence began (B) and moves down one row.