Edit cells faster in Excel: F2, Esc and Ctrl+Enter
F2 edits a cell without retyping it, Esc cancels, Ctrl+Enter fills a whole selection at once. The editing keys that save the most time.
To edit cells faster in Excel, press F2 to change a cell without typing it again. Press Esc to cancel an edit. Press Ctrl+Enter to put one entry into every selected cell at once.
These are the Windows keys. Excel for Mac uses different keys for some of them.
Here is a job where you need all 3. You are sending a guest list to a venue. One name is spelled wrong. Every reply is still empty. And the table numbers are only on the first guest at each table.
| Row | A | B | C |
|---|---|---|---|
| 1 | Table | Guest | Reply |
| 2 | Table 1 | Ruth Adler | |
| 3 | Omar Siad | ||
| 4 | Lucia Ferri | ||
| 5 | Table 2 | Dev Patel | |
| 6 | Hanna Lind | ||
| 7 | Table 3 | Kofi Mensah |
F2: fix one letter, keep the rest
B3 should say Omar Said. Click B3 and start typing, and Excel deletes what was there. For a short name that is fine. For a long formula it is a problem.
Press F2 instead. The cell opens with everything still in it, and the cursor at the end. Move the cursor with the arrow keys, fix the 2 letters, and press Enter.
Double-click on a cell does the same thing. F2 is faster when your hands are already on the keyboard.
In a formula, F2 also shows each cell reference in its own colour. The same colour marks the cells on the sheet. It is the quickest way to see what a formula reads.
Why the arrow keys sometimes leave the cell
This confuses nearly everyone. Type into a cell, then press the Left arrow to fix a letter. Excel does not move the cursor. It confirms the cell and jumps to the next one.
The reason is the mode. When you start typing into a cell, Excel is in Enter mode. There, the arrow keys move between cells. After F2, Excel is in Edit mode, and the arrow keys move inside the text.
Press F2 while you type to switch between the 2 modes. The word Enter or Edit shows at the bottom left of the window.
Esc: cancel, and nothing changes
You click C2 and type Yes. Then you see that it was the wrong row. Do not press Enter and then undo. Press Esc. The edit is gone and the cell is as it was before.
Esc only works before you confirm. After Enter, use Ctrl+Z to undo. Ctrl+Y redoes what you just undid.
Enter, Tab and the keys that go back
- Enter confirms and moves down. Shift+Enter confirms and moves up.
- Tab confirms and moves right. Shift+Tab confirms and moves left.
- Ctrl+Enter confirms and stays on the same cell. Use it to check a result without moving.
Type a row with Tab, Tab, Tab, then press Enter. Excel goes to the next row, under the cell where you started. So you can type a table without the mouse.
Ctrl+Enter: one entry, many cells
Every guest has replied yes. You do not need to type Yes 6 times.
Select C2:C7. Type Yes. Press Ctrl+Enter. All 6 cells now say Yes.
The cells do not have to be next to each other. Hold Ctrl and click C2, C5 and C7. Then type and press Ctrl+Enter, and only those 3 cells change.
It works with a formula too. Each cell gets the formula with its own references, as if you had filled it down.
Fill the gaps in a column with Ctrl+Enter
Column A has a table number on the first guest of each table only. The venue wants it on every row, so the list still works after a sort. Here is the fast way.
- Select A2:A7.
- On the Home tab, click Find & Select, then Go To Special. Choose Blanks and click OK. Now only the empty cells are selected, and A3 is the active cell.
- Type = and press the Up arrow. The formula now reads
=A2. - Press Ctrl+Enter.
Every empty cell now copies the cell above it. A3 and A4 show Table 1. A6 shows Table 2.
These cells hold formulas. A sort will mix them up. So copy A2:A7 and paste it back as values. Press Ctrl+C, then Ctrl+Alt+V, then V, then Enter.
Alt+Enter: two lines in one cell
The venue wants 2 notes for Hanna Lind in one cell: no nuts, and arrives late. Press Enter after the first note and Excel leaves the cell.
Press Alt+Enter instead. It starts a new line inside the same cell. Excel also turns on Wrap Text, so both lines show.
Delete or Backspace
Delete clears what is in every selected cell. The format stays, so a cell formatted as money stays money.
Backspace clears only the active cell and opens it for typing. With 10 cells selected, Backspace clears 1 of them.
F4 inside a formula
One more edit key. With the cursor on a reference like B7, press F4. It changes to $B$7, then B$7, then $B7, then back to B7. You never type a dollar sign. The article on references says when you need each one.
What to practise first
Start with F2 and Esc. You use them every day, and they save the most typing. Then add Ctrl+Enter for any value you would otherwise type many times.
The shortcuts to practise first covers moving and selecting. The 2 lessons below cover editing, copying and filling. Each lesson is a real sheet you type into, and each answer is checked when you press Enter.