Excel Autofill: How to Fill Cells Automatically
In this article
Autofill in Excel copies a value, pattern, formula or series into neighbouring cells by dragging the fill handle, the small square in the bottom-right corner of a selected cell or range. Select the cell, hover over the fill handle until the cursor becomes a thin black cross, then drag down, right, up or left and release. Excel decides whether to copy the value or continue a series such as 1, 2, 3 or Monday, Tuesday, Wednesday; you can override that decision with the options button that appears at the end of the filled range. It works in Excel for Microsoft 365, Excel 2021 and 2019 on Windows and Mac, in Excel for the web, and in the iPad and iPhone apps, though the exact labels and ribbon positions differ slightly between versions, platforms and regions.
What You'll Need
- Excel for Microsoft 365, Excel 2021, 2019 or 2016 on Windows or Mac, or Excel for the web or mobile.
- A worksheet with at least one cell containing the starting value, formula or text you want to extend.
- The fill handle enabled: if you cannot see the small square in the corner of the selection, go to File > Options > Advanced and, under Editing Options, tick "Enable fill handle and cell drag-and-drop". On Mac the equivalent lives under Excel > Preferences > Edit.
- Your data laid out so the cells beside or below the start cell are empty, or you accept overwriting what is there.
Step-by-Step
- Enter your starting value. Type the first value into a cell and press Enter. For a series, type the first two values in adjacent cells, for example 1 in A1 and 2 in A2, or Monday in B1 and Tuesday in B2. Two values tell Excel the step size, which matters for sequences like 5, 10, 15 or dates a fortnight apart.
- Select the starting cell or cells. Click the cell, or click and drag across both seed cells so they are highlighted together. For a series, always select all the seed cells, not just the first one.
- Find the fill handle. It is the tiny square at the bottom-right of the selection border. Hover over it until the pointer turns into a thin black plus sign.
- Drag to extend. Hold the left mouse button and drag down (or across, or up) through as many cells as you want filled. A grey outline previews the target range, and a small tooltip shows the value that will land in the last cell. Release the mouse button to fill.
- Check the AutoFill Options button. Immediately after releasing, a small icon appears at the bottom-right of the filled range. Click it to choose how the range was filled: Copy Cells repeats the value, Fill Series continues the pattern, Fill Formatting Only, Fill Without Formatting, or Fill Days, Weekdays, Months and Years for date-like text. If Excel guessed wrong, pick the option you actually wanted and the range updates in place.
- Use double-click for a quick fill down. Double-click the fill handle instead of dragging. Excel fills down as far as the adjacent column has continuous data. This is the fastest way to copy a formula down a long table, but it stops at the first blank in the neighbouring column.
- Fill a formula. Put the formula in the first cell, confirm it is correct, select that cell and drag or double-click the fill handle. Relative references adjust row by row, so =B2*C2 becomes =B3*C3. If you want a reference frozen, add dollar signs first, for example =B2*$F$2.
- Fill a custom list. If you need your own sequence such as department names or product codes, go to File > Options > Advanced, scroll to the General section, click Edit Custom Lists, type the entries in the List entries box, click Add and then OK. Excel will autofill that list wherever you type its first item.
- Fill a series with exact control. If dragging is imprecise, select the range including the start value, then use Home > Fill > Series. Choose Rows or Columns, a type (Linear, Growth, Date or AutoFill), a step value and a stop value, then click OK. This is the reliable route for long numbered lists, monthly dates or a fixed increment.
- Fill quickly on touch devices. In the Excel app on iPad, iPhone or Android, select the cell, tap the fill handle and drag it with your finger, or use the copy-and-paste route if the handle is awkward to grab. Labels and placement vary by app version.
Common Mistakes
- Selecting only one seed value for a series. Drag 1 alone and Excel continues 1, 2, 3. Drag 5 alone and it may repeat 5, 5, 5. Enter two values whenever the step matters.
- Ignoring the AutoFill Options button. A repeated value where you expected a series is almost always a fill-option choice, not a fault. Click the small icon and change it before doing anything else.
- Dragging over existing data. Autofill overwrites whatever is in the target cells without a warning prompt in most cases. Check the grey preview outline covers only empty cells.
- Losing formatting unexpectedly. A drag can carry borders and fills you did not want, or drop them where you did. Use Fill Without Formatting from the options menu.
- Double-clicking with a blank in the adjacent column. The double-click fill stops at the first gap, which looks like a partial fill. Either fill the gaps or drag manually.
- Forgetting the fill handle is disabled. If nothing appears when you hover over the corner, the option has been switched off in Excel's advanced settings.
Tips
- Hold Ctrl (Cmd on Mac) while dragging a series to toggle between copying and incrementing. Ctrl-drag on a number changes it from copying to incrementing; on a date it changes incrementing to copying.
- Hold Alt while dragging to snap the fill to the nearest whole cell, useful when rows are tall.
- Right-drag the fill handle to get a context menu with the fill options listed outright, including Series and Fill Formatting Only.
- Excel recognises built-in lists such as days of the week, month names and quarter labels, in either full or abbreviated form.
- Pattern detection works on mixed text: Wed, Thu or Q3, Q4 extend correctly, and something like "Item 1" becomes "Item 2", "Item 3".
- Use autofill to copy conditional formatting and data validation too: the destination cells inherit both, which makes it a fast way to standardise a new column.
- Before filling a long range with formulas, confirm the first two results look right. An error from row two will be repeated all the way down.
Troubleshooting
The fill handle does not appear. Turn it on in File > Options > Advanced under Editing Options, or Excel > Preferences > Edit on Mac. Save the setting; it persists across workbooks.
Numbers repeat instead of counting up. Click the AutoFill Options button and choose Fill Series. If that option is greyed out, you probably selected only one seed cell: undo, type a second value, select both and drag again.
The fill copies the formula but every row shows the same result. The references are absolute rather than relative. Remove the dollar signs you did not intend, or vice versa, then refill.
Double-click fills only a few rows. The neighbouring column has a blank cell. Fill the blank, or select the whole target range first and use Home > Fill > Down.
Dates fill as the same date. Excel treats a single date as a value to copy. Enter two dates to set the interval, or use Home > Fill > Series with the Date type and a chosen step.
Custom list will not fill. The entries must match exactly, including spelling and spacing, and the list must be added in the same Excel installation you are using. If the workbook is shared, the list does not travel with it.
Numbers fill as text. Cells formatted as text will not increment. Convert the column to General or Number format, re-enter the seed values and fill again.
If that did not work
Save the file and reopen it if the fill handle behaves erratically, since ribbon and add-in glitches occasionally persist until a restart. If the problem affects only one workbook, check for protected sheets: a protected worksheet blocks the fill handle entirely, and you will need the sheet unprotected through Review > Unprotect Sheet before autofill works again.
Frequently Asked Questions
Does autofill work with formulas?
Yes. Relative references shift with each row or column, while absolute references with dollar signs stay fixed. Check the first few filled cells before extending the fill across a large range.
Why does autofill repeat my number instead of adding one?
Excel defaults to copying a single selected value. Either enter the next value in the adjacent cell and select both, or click AutoFill Options and choose Fill Series.
Can I autofill a series of dates by week or month?
Yes. Enter two dates a week apart and drag, or use Home > Fill > Series, choose Date, then select Day, Weekday, Month or Year and set the step value.
Is autofill available in Excel for the web and mobile?
Yes, in a reduced form. The web and mobile apps support dragging the fill handle and the basic fill options, but some advanced series settings are only in the desktop app. Labels vary by version.
How do I stop autofill overwriting my data?
Watch the grey preview outline before releasing the mouse, and undo immediately with Ctrl+Z (Cmd+Z on Mac) if you overshoot. Filling into a range that already holds values replaces them without a prompt.
Can I create my own autofill list?
Yes, through File > Options > Advanced > Edit Custom Lists. Entries you add there are available in that Excel installation for any workbook, and typing the first entry then dragging fills the rest of the list.