Confident CellsExcel practice Start free

Fill series and Flash Fill: practice exercises

fill handle, months and days, steps of 5, Auto Fill Options, Fill Series, Series dialog, Stop value, weekdays, Flash Fill. 7 exercises on real-looking data, each checked as you go. The full lesson is part of Pro.

In the lesson

This lesson has a strip of Excel's Home tab buttons and the Format Cells dialog above a practice sheet: format the cells as you would in Excel, and each task is checked as you go.

Open the Fill series and Flash Fill lesson

How it works

The fill handle is the small square at the bottom right of the selected cells. Drag it and Excel carries on what you started: January, February, March; Monday, Tuesday; 5, 10, 15; Item 1, Item 2. The Series dialog does the same with exact steps and an end point, such as up in 50s to 1,000, or working days only.

Flash Fill spots a pattern in what you type. Type one or two first names next to a list of full names, and it fills in the rest.

The fill handle: an example

A sales sheet needs the months down column A. Type January in A2, then point at the small square at the bottom right of A2: the pointer turns into a thin black +. Drag it down to A13 and Excel fills in February to December.

Excel knows these lists, long or short (January or Jan): the months, and the days of the week. It also counts on text that ends in a number, such as Item 1, Week 1 or Q1, and dates go up a day at a time.

A single number is copied, not counted on: drag a cell holding 5 and you get 5, 5, 5. To count, give Excel two numbers to show the step: 5 and 10, select both, then drag, for 15, 20, 25.

Double-click the fill handle and it fills down as far as the column next to it has data, which saves dragging down a long list.

Auto Fill Options and the Series dialog

After a drag, a small Auto Fill Options button appears at the bottom right. Click it to change what the fill did:

  • Copy Cells: the same value all the way down.
  • Fill Series: count on.
  • Fill Formatting Only and Fill Without Formatting: just the look, or just the values.
  • For dates: Fill Days, Fill Weekdays (Monday to Friday only), Fill Months, Fill Years.

Holding Ctrl as you drag does the opposite of a plain drag: a number counts on, and a month is copied.

For exact steps use Fill ▾, Series…. Put the first value in a cell, click it, and choose: Series in Rows or Columns, a Type (Linear adds the step each time, Growth multiplies by it, Date with a date unit), the Step value, and the Stop value where it ends. Start at 50 with step 50 and stop 1,000, and you get 50, 100 … 1,000 in 20 cells.

Windows: Home tab, Editing group, Fill ▾, Series….

Mac: Home tab, Fill ▾, Series…. It's also on the Edit menu at the top of the screen, Fill, Series….

Flash Fill

Column A has full names, such as Priya Shah. Type Priya in B2, click B3 and press Ctrl+E: Flash Fill sees that you took the first word, and fills in every other first name.

It copes with initials (PS), surnames, bits of codes and emails (SHA-4521 from the surname and a staff number), and joining columns. If it can't see the pattern from one example, type a second one and try again.

Flash Fill types the results in as values, not formulas, so they won't change if column A does. When it can't find a pattern, Excel says it looked at the selection and the data next to it but couldn't see one.

Windows: Data tab, Data Tools group, Flash Fill, or Home, Fill ▾, Flash Fill.

Mac: Data tab, Flash Fill, or Home, Fill ▾, Flash Fill.

What you'll practise

  1. Fill in the months down to A13. Click A2, then drag the fill handle (the small square at its bottom right corner) down to A13.
  2. The rota needs the working week across row 1. Drag the fill handle of B1 to the right, as far as F1, for Mon to Fri.
  3. A2 and A3 hold 0 and 5. Select both, then drag the fill handle down to A12, so Excel carries on going up in 5s. (Double-clicking the fill handle fills down as far as column B goes.)
  4. Mark the thermometer for the appeal: from 50 in A2, going up in 50s, and stopping at 1,000. Click A2, then Fill ▾, Series…: Series in Columns, Type Linear, Step value 50, Stop value 1000.
  5. B2 shows the first name from A2. Fill in the rest with Flash Fill: click B3, then press Ctrl+E (or Data tab, Flash Fill).
  6. Fill B3:B11 with the working days (Monday to Friday) that follow the date in B2, one date in each cell.
  7. Complete C3:C11 so each code follows the pattern shown in C2. Don't type the codes or use a formula.

Guide with worked examples: Change case in Excel: UPPER, LOWER and PROPER