Fill down and fill right
Copy formulas down a column and across a row in one go.
Select the formula and the cells to fill, then Ctrl+D (down) or Ctrl+R (right).
This lesson is about keyboard shortcuts, so it needs a computer with a keyboard.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Product | Jan | Feb | Mar | Total | Share | ||
| 2 | Stapler | 490 | 150 | 410 | 1050 | #DIV/0! | ||
| 3 | USB-C Hub | 720 | 330 | 250 | ||||
| 4 | Monitor Stand | 130 | 440 | 570 | ||||
| 5 | Office Chair | 740 | 330 | 260 | ||||
| 6 | Desk Organiser | 630 | 540 | 710 | ||||
| 7 | Notebook A5 | 250 | 680 | 460 | ||||
| 8 | Filing Cabinet | 720 | 900 | 290 | ||||
| 9 | Whiteboard | 710 | 220 | 360 | ||||
| 10 | Total | 4390 | ||||||
| 11 | ||||||||
| 12 |
In a bit more detail
What does Ctrl+D do?
It fills down: it copies the top cell of the selection into every cell below it in the selection. Select the formula and the empty cells under it, then press Ctrl+D.
And Ctrl+R?
It fills right: the left cell of the selection is copied into the cells to its right. Handy for a row of totals.
Do the references change?
Yes, exactly as with the fill handle: references without $ move one row (or column) per cell, references with $ stay fixed.
=E2/$E$12copied down becomes=E3/$E$12.What if only one cell is selected?
Ctrl+D copies the cell straight above into it, and Ctrl+R copies the cell to its left.
And on a Mac?
Cmd+D and Cmd+R do the same.
Know someone fighting with a spreadsheet? Send them this page.