Filling Down and Filling Right
About this lesson
Filling copies a formula into the cells next to it. Every relative reference moves by the same distance. So one formula can total 200 rows.
- fill a formula down and across and predict what each copy holds.
- tell which fills need a locked reference before you fill.
The idea
Filling down adds to the row numbers. Filling right moves the column letters along. That is the whole mechanism. It is why a formula written for the first row of a table is usually the only one you need to write.
The habit to build is not the shortcut. It is the check. Total a table by rows and by columns, and compare the two grand totals. They must agree. When they do not, it is almost always a range that stopped one row short. That is the most common error in a spreadsheet, and an invisible one. A total that is slightly too small looks like a total. Two formulas and five seconds.
The mistake to watch for
A filled total that stops one row short. It is the most common error on a spreadsheet and the hardest to see. A total that is slightly too small looks like a total. Total a table by rows and by columns and compare the two grand totals. They must agree. When they do not, one range ends early.
Where this comes up again
This lesson needs JavaScript to run. Everything below is the lesson in full, but you cannot type into the grid or be marked.
Total the sourdough waste across the three days, in E2.
To begin, type it exactly:
=SUM(B2:D2)
| Row | A | B | C | D | E | F | G |
|---|---|---|---|---|---|---|---|
| 1 | Item | Mon | Tue | Wed | Week | ||
| 2 | Sourdough | 4 | 2 | 6 | |||
| 3 | Baguette | 9 | 5 | 3 | |||
| 4 | Croissant | 12 | 7 | 11 | |||
| 5 | Daily total | ||||||
| 6 | |||||||
| 7 | |||||||
| 8 |
Every step
-
Total the sourdough waste across the three days, in
E2. To begin, type it exactly:=SUM(B2:D2). -
Copy that down from
E2toE4and check what lands inE4. On a keyboard, select the three cells and press CtrlD. -
Now the other direction. Total Monday's waste across all three items, in
B5. -
Copy
B5across toD5and check what lands inD5. On a keyboard, select the three cells and press CtrlR. -
The grand total in
E5could be read two ways. Read=SUM(E2:E4)and say what it returns.