Fill down, fill right and AutoSum: practice exercises
Ctrl+D, Ctrl+R, Alt+=. 5 exercises on real-looking data, each checked as you go. This lesson is free, with no account needed.
The keys
| What it does | Windows | Excel for Mac |
|---|---|---|
| Stretch the selection a cell at a time | Shift+ | Shift+ |
| Fill down: copy the top cell into the cells selected below it | Ctrl+ | Control+ |
| Fill right | Ctrl+ | Control+ |
| AutoSum: a SUM of the figures above | Alt+ | Cmd+ |
All the shortcuts in one list, with Windows and Mac keys side by side.
This lesson is done with the keyboard on a practice sheet in the lesson: each step checks that you pressed the right keys.
How it works
Ctrl+D (fill down) copies the top cell of the selection into the cells below it. Ctrl+R (fill right) copies the left cell across. Formulas adjust as they're copied, just like dragging the fill handle. With a single cell selected, Ctrl+D copies the cell above.
Alt+= is AutoSum: it writes =SUM(…) for the numbers above (or to the left), ready for you to press Enter. Select several empty cells below columns of numbers and it totals them all at once.
Fill down and fill right
You often need the same formula all the way down a column. Instead of typing it again, fill it:
- Select the cell with the formula and the cells below it, then press Ctrl+D.
- For a row, select the cell and the cells to its right, then Ctrl+R.
- With one empty cell selected, Ctrl+D copies the cell directly above into it.
The references move as they're copied: =C2*D2 becomes =C3*D3 on the next row. (Lock with $ to stop that.)
AutoSum
Alt+= types a SUM for you. It looks up for a run of numbers, or left if there are none above, and puts =SUM(B2:B9) in the cell. Check the range it chose, then press Enter.
Select a whole row of empty cells under several columns and Alt+= totals every column in one go.
What you'll practise
- E2 works out pay. Select E2:E13 (with E2 active, Shift+click E13), then press Ctrl+D to fill the formula down.
- One pay formula is missing, in E8. Select it and press Ctrl+D to copy the formula from the cell above.
- B7 totals April. Select B7:F7 and press Ctrl+R to fill the total across.
- Total the hours in C12 with AutoSum: select C12, press Alt+=, check the range it picks, then press Enter.
- Total all four months at once: select B7:E7 and press Alt+=.
Guides with worked examples: Excel keyboard shortcuts for Windows and Mac · Absolute references: what the $ does, and the F4 key