Sub topic 8
Filling with the fill handle
This chapter assumes you can enter text, numbers, and simple formulas, and that you know how relative and absolute references behave when a formula is copied. The fill handle builds on both. It is the fastest way to extend a pattern or a formula across a range, and it has several behaviors that surprise people the first time.
What the fill handle is
The fill handle is the small square at the bottom-right corner of the selected cell or range. When you point at it, the cursor changes from a white cross to a thin black cross. Dragging from that point copies or extends the selection into the cells you cross.
If you do not see the handle, turn it on in File > Options > Advanced > Editing options, and check "Enable fill handle and cell drag-and-drop".
What Excel does when you drag
Excel looks at the selected cells and decides between two actions: copy the content, or extend a pattern.
- A single text value or a single number is copied.
- A single value that contains a number, such as
Item 1orQ1, is extended as a series. - Two or more numbers are treated as a pattern, and Excel works out the step between them.
- Formulas are copied with their references adjusted, following the relative and absolute rules.
Filling formulas
Suppose column B holds prices and cell E1 holds a tax rate. You write the formula in C2 and fill it down.
C2: =B2*$E$1
C3: =B3*$E$1When the formula moves from C2 to C3, the relative reference B2 becomes B3. The absolute reference $E$1 stays fixed. If you had written E1 without dollar signs, C3 would point to E2, which is empty, and the result would be 0.
To fill a long column quickly, double-click the fill handle instead of dragging. Excel fills down as far as the adjacent column has data.
Filling series
Excel recognizes a series only when it has enough information to infer the step.
Number series
A single 1 in a cell is copied when you drag. To get a count, give Excel two values.
A1: 1
A2: 2
Select A1:A2 and drag the fill handle down to A5 to get 1, 2, 3, 4, 5The step does not have to be 1. Entering 10 and 20 gives 30, 40, and so on. Entering 100 and 90 gives a descending series. The step is the difference between the first two values, and Excel fits a linear trend to the values if you select more than two.
A shortcut for a single number is to hold Ctrl while dragging. With one number selected, Ctrl-drag extends it as a series where a plain drag would copy it. With a text-and-number value or a date, Ctrl-drag does the opposite and copies it. Behavior differs slightly between Windows and Mac, so check the result after the drag.
Text, dates, and custom lists
Excel ships with built-in lists, including weekday names, month names, and their abbreviations. Typing Mon and dragging gives Tue, Wed, Thu, and so on, then wraps back to Mon. Text ending in a number, such as Item 1 or Week 3, increments the number.
Dates fill by day by default. Dragging with the right mouse button opens a menu where you can choose a different unit.
| Starting value | Plain drag gives | Notes |
|---|---|---|
| `1` | 1, 1, 1 | Single number is copied |
| `1`, `2` | 3, 4, 5 | Step inferred from two values |
| `Mon` | Tue, Wed, Thu | Built-in list |
| `Jan` | Feb, Mar, Apr | Built-in list, wraps after Dec |
| `Item 1` | Item 2, Item 3 | Trailing number increments |
| `2026-01-31` | 2026-02-01, 2026-02-02 | Fills by day |
| `Apple` | Apple, Apple | Not in any list, so copied |
You can add your own sequence, such as department names or regions, under File > Options > Advanced > General > Edit Custom Lists. After that, typing the first item and dragging fills the rest in your order.
The Auto Fill Options button
After a drag, a small button appears near the last filled cell. Clicking it lets you change what happened without undoing.
- Copy Cells repeats the original value.
- Fill Series extends the pattern.
- Fill Formatting Only copies the formatting and leaves the values.
- Fill Without Formatting fills values and keeps the existing formatting in the target cells.
- Fill Days, Fill Weekdays, Fill Months, Fill Years appear for dates.
- Flash Fill appears when Excel detects a pattern in neighboring columns.
Fill Without Formatting is useful when you fill into a range with banded colors or borders that you want to keep.
Filling in other directions
You can drag the handle up, left, or right as well as down.
- Dragging right extends across columns, and relative column letters shift. A formula
=B2in C2 filled right to D2 becomes=C2. - Dragging up or left reverses a series. Starting with
1and2and dragging upward gives 0, -1, -2. - Dragging a selection that contains several rows or columns repeats the whole block as a pattern.
Overwriting and edge cases
The fill handle writes over whatever is in the target cells. Excel may show a confirmation message when you drag into non-empty cells, but only if "Alert before overwriting cells" is enabled in the same Advanced options section. Do not rely on it. Ctrl+Z restores the previous contents if you notice immediately.
Other behaviors to know:
- Hidden and filtered rows. In a filtered range, a drag fills only the visible rows in some cases, but results vary. Check the output, or use the visible-cells techniques covered later in this tutorial.
- Double-click stops early. Double-click fill stops at the first blank cell in the neighboring column. A gap in the data leaves the rest unfilled.
- Formatting travels too. A drag copies number formats, fills, and borders along with the values unless you pick Fill Without Formatting.
- Merged cells. Filling from or into merged cells often fails or produces an error about differently sized merged cells. Unmerge first.
- Tables. Inside an Excel Table, formulas in a column usually fill down automatically as a calculated column, so you rarely need to drag.
A worked example
Build a small price list with tax.
- In A1 type
Item 1. In B1 typePrice, and in C1 typeWith tax. - In E1 type
0.2as the tax rate. - In A2 type
Item 1, then drag its fill handle down to A6 to get Item 2 through Item 5. - In B2:B3 type
10and20, select both, and drag down to B6. Excel fills 30, 40, 50, 60. - In C2 type
=B2*(1+$E$1), press Enter, then double-click its fill handle. The formula fills down to C6 because column B has data there. - Select C2:C6 and check C6. It should read
=B6*(1+$E$1).
If any result is wrong, click a cell and read its formula in the formula bar. A missing dollar sign is the most common cause.
Exercise
A2 contains the number 5 and nothing else is nearby. You drag the fill handle from A2 down to A5 and get 5, 5, 5, 5. What are two ways to get 5, 6, 7, 8 instead?
Show answer
Either enter 6 in A3, select A2:A3, and drag down so Excel infers a step of 1, or select A2 and hold Ctrl while dragging so a single number is extended as a series. You can also drag normally and then choose Fill Series from the Auto Fill Options button.
Exercise
C2 contains =B2*E1. You fill it down to C4, and C3 and C4 return 0. What went wrong, and what is the fix?
Show answer
E1 is a relative reference, so it became E2 in C3 and E3 in C4, which are empty. Change the formula in C2 to =B2*$E$1 and fill it down again.