Sub topic 6
Filling Series and Patterns with the Fill Handle
This chapter assumes you can select cells and ranges, type values and formulas, and know how Sheets classifies input as text, number, or date. It covers the fill handle, the autofill rules that decide what gets filled, and the errors that most often surprise people.
What the fill handle does
The fill handle is the small square at the bottom-right corner of a selected cell or range. When you drag it, Sheets looks at the selected cells, guesses a pattern, and writes new values into the cells you drag across. This is autofill.
Autofill does one of two things:
- Copies the source cells to the target cells.
- Extends a detected series or pattern into the target cells.
Which one you get depends on what is in the source cells. The same drag can copy in one case and count upward in another.
You can also double-click the fill handle. Sheets then fills downward as far as the adjacent column has data. This is faster than dragging on a long list, but it has limits, which are covered below.
How Sheets chooses between copying and extending
Sheets reads the selected source cells and applies roughly these rules.
| Source selection | Result when dragged down |
|---|---|
| One number, such as `5` | Copies `5` |
| Two or more numbers with a constant step, such as `1`, `2` | Extends the step: `3`, `4`, `5` |
| One date, such as `2026-01-01` | Extends by one day |
| Two dates | Extends using the interval between them |
| A weekday or month name, such as `Mon` or `January` | Continues the built-in list |
| Text followed by a number, such as `Item 1` | Increments the number: `Item 2`, `Item 3` |
| Plain text with no number, such as `Total` | Copies the text |
| A formula | Copies the formula and adjusts its references |
The first row matters most. A single number is copied, not counted. To make a counting series, give Sheets two examples so it can measure the step.
A1: 10
A2: 20Select A1:A2 and drag the handle down. Sheets measures the step of 10 and fills 30, 40, 50, and so on.
Building a series from two examples
Two cells define a step. The step does not have to be 1, and it can be negative or fractional.
| Cells you enter | Series produced |
|---|---|
| `1`, `2` | 3, 4, 5, ... |
| `100`, `90` | 80, 70, 60, ... |
| `0.5`, `1` | 1.5, 2, 2.5, ... |
| `2026-01-01`, `2026-01-08` | 2026-01-15, 2026-01-22, ... |
For dates, the step is measured in days when the two dates are a fixed number of days apart. Dates a month apart behave differently, which is a common source of confusion and is described next.
Date series and month ends
Dates are stored as numbers, but autofill treats them as calendar values. If you enter 2026-01-31 and 2026-02-28 and drag, Sheets sees a one-month gap in some cases and a 28-day gap in others. The result can step by calendar months or by a fixed number of days, depending on how the two dates relate.
For predictable results with month-based series, use the first of each month:
A1: 2026-01-01
A2: 2026-02-01Dragging this pair gives 2026-03-01, 2026-04-01, and so on. If you need month ends, build them with a formula instead of relying on autofill:
=EOMONTH(A1,1)Put the starting date in A1, enter this formula in A2, and fill it down. EOMONTH returns the last day of the month that is the given number of months away, so each row lands on a true month end.
Text with numbers and built-in lists
Sheets recognizes text that ends in a number and increments that number. Item 1 becomes Item 2, Item 3. Q1 becomes Q2, Q3, Q4, Q5. The series does not wrap around at four, because Sheets sees a number suffix and not a quarter concept.
Built-in lists work differently. Weekday names (Monday, Mon) and month names (January, Jan) continue as cycles. After Dec, the next value is Jan.
Two cautions apply:
- A number in the middle of text is not incremented.
2 Main Stcopies unchanged. - Leading zeros are lost when a value is stored as a number. If you type
001and it becomes1, autofill continues from1. Store the code as text first, using a plain-text number format, if you need the zeros preserved.
Filling formulas and cell references
When you fill a formula, Sheets adjusts each relative reference by the distance you moved. This is the most common use of the fill handle.
=B2*$E$1Filled down one row, this becomes =B3*$E$1. The B2 reference is relative, so it shifts. The $E$1 reference is absolute, so it stays fixed. If you forget the dollar signs on a constant such as a tax rate, the reference drifts to E2, E3, and so on, and the results are wrong without any error message.
Fill direction matters. Dragging down changes row numbers. Dragging right changes column letters. A mixed reference such as $C2 locks the column but lets the row shift, which is the pattern used in conditional formatting rules.
Fill handle, double-click, and where it stops
Double-clicking the handle fills down to the last row of the neighboring data. Sheets decides the stopping point by looking at the column immediately to the left (or right, if the left is empty).
Edge cases to know:
- If the neighboring column has a gap, the fill stops at the gap.
- If the neighboring column is empty, double-click does nothing.
- If your data has blank rows, check the result, since the fill may be shorter than the table.
A reliable alternative is to select the source cell and the whole target range, then press Ctrl+D (Cmd+D on Mac) to fill down, or Ctrl+R to fill right. This copies the first row or column of the selection into the rest. It copies, but it does not extend a series.
Controlling the result
After a drag, Sheets may show a small suggestion button. Use it to accept an autofill suggestion, or to change the outcome when the guess was wrong.
You can also change the behavior directly:
- Force a copy: Hold Ctrl (Cmd on Mac) while dragging to reverse the default. A counting series is copied. A single number, which normally copies, may instead be counted.
- Undo: Press Ctrl+Z right after the drag to remove the filled cells.
- Fill up or left: Drag the handle in that direction. The series runs in reverse, so
1,2dragged upward gives0,-1.
Behavior of modifier keys can vary by browser and version, so test it on a small range before using it on real data.
Patterns beyond simple counting
Autofill can continue some patterns that are not plain arithmetic. If you select several cells that repeat a sequence, such as A, B, A, B, dragging usually repeats that block. Mixed selections of text and numbers are copied as a unit when no single series can be found.
When autofill cannot detect what you want, use a formula. SEQUENCE generates a series in one step:
=SEQUENCE(10,1,5,5)This writes 10 rows and 1 column, starting at 5 with a step of 5: 5, 10, 15, up to 50. Unlike autofill, it is a single formula, so changing its arguments changes the whole series, and nothing has to be dragged.
Common errors
- The series copies instead of counting. You selected only one numeric cell. Enter a second value so Sheets can measure the step.
- Dates jump by the wrong interval. The two sample dates are not a clean interval. Use the first of the month, or use
EDATEorEOMONTH. - Constants drift in formulas. A reference that should be fixed is relative. Add
$signs before filling. - Double-click stops early. The neighboring column has a blank cell. Fill with Ctrl+D over an explicit range.
- Leading zeros disappear. The entry was parsed as a number. Format the cells as plain text before typing.
- Overwritten data. Dragging over existing cells replaces their contents. Check the target range first, and use undo if needed.
Worked example
You are building a monthly budget sheet and want a column of month starts, a numbered row label, and a tax calculation.
- In A2 enter
2026-01-01and in A3 enter2026-02-01. Select both and drag the handle down to row 13. You get twelve month starts. - In B2 type
Line 1, then drag the handle down to row 13. You getLine 2throughLine 12. - In E1 enter the tax rate
0.2. In C2:C13 enter amounts. - In D2 enter
=C2*$E$1. Double-click the handle on D2. Sheets fills down to row 13 because column C has data there. - Click D5 and check the formula. It reads
=C5*$E$1, which confirms the relative and absolute references behaved as intended.
Exercise
Cell A1 contains 5. You drag its fill handle down four rows and get 5 in every cell. What do you change so that the cells show 5, 10, 15, 20, 25?
Show answer
Enter 10 in A2 so that two cells define the step of 5, select A1:A2, and drag the fill handle down. Alternatively, use =SEQUENCE(5,1,5,5) in A1.
Exercise
The formula =B2*E1 in C2 is filled down to C3 and now gives a wrong result. What happened, and how do you fix it?
Show answer
E1 is a relative reference, so it shifted to E2 in C3. Change the formula to =B2*$E$1 in C2 and fill down again, so the reference to E1 stays fixed.