Lesson 5 of 92 · Free Excel Course
Excel
How to AutoFill in Excel (Plus Flash Fill and the Fill Handle)
Type and edit cells, then let AutoFill, the fill handle and Flash Fill finish lists of numbers, dates, months and names for you. Free practice file.
Most of the time you spend in Excel early on is typing. The good news is that Excel is very keen to do a lot of that typing for you. Give it the first one or two items of a list and it can finish the rest: numbers, dates, days of the week, months, even first names pulled out of a column of full names. This lesson starts with the basics of putting data into a cell and fixing it, then walks through AutoFill, the fill handle, Flash Fill and a few keyboard tricks that save real time. If you have not opened a workbook yet, start with workbooks and sheets first.
Typing data into a cell
A cell holds one thing: a number, a piece of text, a date or a formula. To fill one in:
- Click the cell (or move to it with the arrow keys).
- Type. What you type shows in the cell and in the formula bar above the grid.
- Press Enter to save it and move down one cell, or Tab to save it and move right.
A few keys are worth learning now:
- Esc throws away what you just typed, as long as you have not pressed Enter yet.
- Shift+Tab saves and moves left; Shift+Enter saves and moves up.
- Alt+Enter starts a new line inside the same cell (on a Mac, Option+Return).
- Ctrl+Z undoes the entry after you have pressed Enter.
Excel guesses what kind of data you typed. Text lines up on the left of the cell; numbers and dates line up on the right. If you type 1/5/2026 it becomes a real date, which is exactly what you want for the date series later in this lesson. (Dates get their own lesson: dates and times.)
Editing a cell: F2, double-click or the formula bar
If you click a cell that already has something in it and just start typing, you replace the whole thing. That is fine for a quick fix, but to change one letter you want edit mode, where a blinking cursor sits inside the text. There are three ways in:
- Double-click the cell. The cursor lands where you clicked.
- Select the cell and press F2. The cursor jumps to the end of the contents. On many Mac keyboards you press fn+F2.
- Select the cell and click in the formula bar. Handy for long text or formulas, since the bar is wider than the cell.
While you are in edit mode the arrow keys move the cursor inside the cell instead of moving to the next cell, and some ribbon buttons are grayed out. Press Enter to keep your change or Esc to cancel it. Excel for the web works the same way, including F2.
If double-clicking a cell does nothing on Windows, someone turned off Allow editing directly in cells. It lives in File > Options > Advanced, under Editing options.
How to AutoFill in Excel with the fill handle
Select any cell and look at its bottom-right corner. There is a tiny square there: the fill handle. When you point at it, the mouse pointer turns into a thin black plus sign. Drag that plus sign and Excel fills the cells you drag over.
What it fills depends on what you start with:
- A single number (like 5) is copied: 5, 5, 5.
- Two numbers (like 5 and 10) set a step, and Excel continues it: 15, 20, 25.
- A month or a day name (Jan, January, Mon, Monday) continues the calendar: Feb, Mar, Apr.
- A date (1/5/2026) counts up one day at a time.
- Text with a number at the end (Week 1, Item 1) counts the number up: Week 2, Week 3.
Here is how to fill a list of months:
- Type
Janin cell A2 and press Enter. - Click A2 again so it is selected.
- Point at the fill handle until you see the thin plus sign.
- Hold the mouse button down and drag down to A7.
- Let go. Excel fills Feb to Jun.
To make a series that counts in steps, type the first two values, select both cells, and then drag the fill handle from the bottom of the selection. Excel works out the gap between them and keeps going.
Below is a starting row, the same kind you will find in the practice workbook:
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Number | Step of 5 | Month | Weekday | Date |
| 2 | 1 | 5 | Jan | Monday | 1/5/2026 |
| 3 | 10 | ||||
| 4 | |||||
| 5 | |||||
| 6 |
And here is the same sheet after dragging each column down to row 6:
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Number | Step of 5 | Month | Weekday | Date |
| 2 | 1 | 5 | Jan | Monday | 1/5/2026 |
| 3 | 2 | 10 | Feb | Tuesday | 1/6/2026 |
| 4 | 3 | 15 | Mar | Wednesday | 1/7/2026 |
| 5 | 4 | 20 | Apr | Thursday | 1/8/2026 |
| 6 | 5 | 25 | May | Friday | 1/9/2026 |
Double-click to fill down
Dragging gets tiring when the list is 500 rows long. If the column next to yours already has data, double-click the fill handle instead. Excel fills down until the neighboring column runs out. This is the fastest way to copy a formula all the way down a table, which you will do a lot once you reach formulas. It only fills down, and it stops at the first blank cell in the neighboring column.
The Auto Fill Options button
When you let go of the fill handle, a small button appears near the bottom-right of the filled cells. That is Auto Fill Options, and it lets you change your mind about what Excel just did:
- Copy Cells: repeat the starting value instead of counting.
- Fill Series: count up instead of copying.
- Fill Formatting Only: copy just the look (colors, borders, number format), not the values.
- Fill Without Formatting: copy the values but keep each cell's own look.
- Fill Days, Fill Weekdays, Fill Months, Fill Years: for dates only. Fill Weekdays skips Saturdays and Sundays, which is perfect for work schedules.
- Flash Fill: shows up when Excel thinks you are doing a text pattern.
So a single number that copied when you wanted 1, 2, 3? Click the button and pick Fill Series. The button appears in Excel for Windows, Mac and the web. It disappears as soon as you type in another cell, so use it right away.
Flash Fill (Ctrl+E)
Flash Fill is AutoFill's clever cousin. Instead of continuing a series, it copies a pattern you show it once. Say column A has full names and you want just the first names in column B:
- In B2, type the first name from A2 exactly as you want it, for example
Maria. - Press Enter.
- Press Ctrl+E, or go to Data > Flash Fill.
On Windows, Excel may even show a gray preview of the rest of the column while you type the second name. Press Enter to accept it.
| A | B | |
|---|---|---|
| 1 | Full name | First name |
| 2 | Maria Lopez | Maria |
| 3 | James Chen | James |
| 4 | Aisha Khan | Aisha |
| 5 | Tom Becker | Tom |
| 6 | Lena Novak | Lena |
Flash Fill also works for joining things (first and last name into one cell), reformatting (turning 5551234567 into a neater phone number), and pulling out parts like email user names. Check the results: if your data is messy, Flash Fill can guess wrong. Type a second example and press Ctrl+E again to give it a clearer hint.
Two things to know. First, Flash Fill writes plain values, not formulas, so if you later change a name in column A, column B does not update by itself. Run Flash Fill again. Second, on a Mac it never pops up on its own; always use Data > Flash Fill or Ctrl+E. In Excel for the web, both the button and Ctrl+E work. If nothing happens on Windows, check File > Options > Advanced and make sure Automatically Flash Fill is ticked.
Ctrl+Enter: fill a whole selection at once
Sometimes you just want the same word in 20 cells, like "Open" in a status column. You do not need to drag at all:
- Select all the cells. Hold Ctrl and click to add cells that are not next to each other.
- Type the value. It appears only in the first cell for now.
- Press Ctrl+Enter (on a Mac, Control+Return).
Every selected cell gets the value. This works with formulas too. In Excel for the web, use the fill handle or Ctrl+D (fill down) instead, since Microsoft lists Ctrl+Enter only for the desktop apps.
Custom lists: teach AutoFill your own sequence
Excel already knows days and months. You can teach it your own list, such as store branches, team names or school periods, so that typing the first item and dragging fills the rest. On Windows:
- Go to File > Options > Advanced.
- Scroll down to the General section and click Edit Custom Lists.
- Click NEW LIST, then type each item in the List entries box, pressing Enter after each one.
- Click Add, then OK twice.
If your list is already typed in some cells, select them first, then use Import in the same box. On a Mac, custom lists are under Excel > Preferences (called Settings on newer macOS), in Custom Lists. Custom lists are saved on your computer, not in the workbook, so a friend opening your file will not have them. Microsoft's custom list steps cover the desktop apps only, so create them there rather than in the browser.
What works where
| Feature | Windows | Mac | Excel for the web |
|---|---|---|---|
| Fill handle drag | Yes | Yes | Yes |
| Auto Fill Options button | Yes | Yes | Yes |
| Flash Fill | Ctrl+E or Data > Flash Fill, auto preview | Ctrl+E or Data > Flash Fill | Ctrl+E or Data > Flash Fill |
| Same value in many cells | Ctrl+Enter | Control+Return | Use fill handle or Ctrl+D |
| Custom lists | File > Options > Advanced | Excel > Preferences | Create in desktop app |
Try it yourself
Download the practice workbook and open the Practice sheet. It has starting values in row 2 and eight full names in column F.
- Drag A2 (the number 1) down to A9, then use Auto Fill Options > Fill Series so it counts 1 to 8.
- Select B2:B3 (5 and 10) and drag down to B9. You should end on 40.
- Drag C2 (Jan) and D2 (Monday) down to row 9.
- Drag the date in E2 down to E9, then try Fill Weekdays and watch the weekend dates vanish.
- G2 already says Maria. Click G3 and press Ctrl+E to Flash Fill the rest of the first names.
- Select H2:H9, type
Openand press Ctrl+Enter. - I2 has the formula
=LEN(F2), which counts letters in the name. Double-click its fill handle to copy it down to row 9.
Compare your sheet with the Answers tab when you are done.
Common mistakes
- Copying when you wanted a count. One number on its own copies. Type two numbers to set the step, or use Fill Series from Auto Fill Options.
- Grabbing the cell border instead of the fill handle. If you see a four-way arrow, you are about to move the cell. Wait for the thin plus sign.
- Double-click stops early. The neighboring column has a blank cell. Fill the gap or drag instead.
- Dates typed as text. If a "date" lines up on the left, Excel sees it as text and will not count it up. Retype it in a form like
1/5/2026. - Expecting Flash Fill to update. It writes fixed values. Run it again after changing the source column.
- Typing over a cell you meant to edit. Press F2 first so you add to the text instead of replacing it. If you already typed over it, press Esc before Enter, or Ctrl+Z after.
Once these feel natural, keep the Excel keyboard shortcuts cheat sheet next to you; F2, Ctrl+E, Ctrl+Enter and Ctrl+D are all on it. Next up is making those cells look good: format cells. Later in the course, Conditional formatting builds on the same fill habits.
Frequently asked questions
How do I copy the same value down instead of making a series?
Drag the fill handle as usual, then click the Auto Fill Options button that appears and choose Copy Cells. To put one value in many cells in a single step, select the cells, type the value and press Ctrl+Enter (Control+Return on a Mac).
How do I AutoFill only weekdays in Excel?
Type a real date (for example 1/9/2026), drag the fill handle down, then click Auto Fill Options and choose Fill Weekdays. Excel skips every Saturday and Sunday.
Why doesn't double-clicking the fill handle fill all the way down?
Double-click fills down only as far as the column next to it has data. If the neighboring column is empty or has a gap, Excel stops there. Fill the gap, or drag the handle instead.
What is the difference between AutoFill and Flash Fill?
AutoFill continues a series or copies cells you already have (1, 2, 3 or Jan, Feb, Mar). Flash Fill copies a pattern you show it once, such as pulling first names out of full names. Flash Fill is on the Data tab or Ctrl+E.
Does Flash Fill work in Excel for the web and on a Mac?
Yes. In both, type one example, then choose Data > Flash Fill or press Ctrl+E. On a Mac it does not pop up a preview by itself, so use the button or shortcut.
How do I make AutoFill know my own list, like store names?
Create a custom list. In Excel for Windows go to File > Options > Advanced, scroll to General and click Edit Custom Lists. Type your items or import them from cells, then type the first item in a cell and drag the fill handle.