Maintenance Notification: We are upgrading our servers today so you may experience intermediate outages. Thank you for your patience.
Fill cells based on existing data
MO-211

Fill cells by using Flash Fill

  1. 1Type the first answer yourself, beside the data: Ana in B2.
  2. 2Select the next cell down, B3.
  3. 3Press Ctrl+E, or select Data › Flash Fill.
  4. 4Check every filled row.

Flash Fill copies the pattern of your example down the column, as typed values rather than formulas.

What the MO-211 task asks

Flash Fill is in seven of our ten MO-211 practice exams, usually with the example already typed: “H4 already shows Rosa as an example. Use Flash Fill to complete H5:H31 with first names, then I4:I31 with last names.” The later versions shorten it to “G4 shows Marsh, E. — Flash Fill G5:G15.”

Our grader checks each filled cell against the answer, and that it holds a typed value rather than a formula. A formula that builds the same text looks identical and scores nothing.

When a column has no worked example, as the Last column above, type the first answer yourself: Flash Fill needs one to copy.

Worked examples

Set up the grid below to follow along. Each example starts from it as shown; every result is what Excel showed.

Staff (B2 and C2 are the typed examples)
ABC
1NameFirstBadge
2Ana OrtizAnaOrtiz, A.
3Ben Kim
4Cleo Park
5Dev Shah
6Eli Moss
First names
Do this
  1. 1Type Ana in B2.
  2. 2Select B3 and press Ctrl+E.
Excel showsB3:B6: Ben · Cleo · Dev · Eli

One example was enough: the first word of each name. Flash Fill stops where the names in column A stop.

A pattern with punctuation
Do this
  1. 1Type Ortiz, A. in C2.
  2. 2Select C3, then Data › Flash Fill.
Excel showsC3:C6: Kim, B. · Park, C. · Shah, D. · Moss, E.

The comma, the space and the full stop are copied as well as the parts of the name.

Values, not formulas
Do this
  1. 1After filling, change A3 to Ben Lowe.
Excel showsB3 still reads Ben, and C3 still reads Kim, B.

Flash Fill typed its results; nothing links them to column A. Fill again if the data changes.

No example to copy
Do this
  1. 1In an empty column with only a heading, select its second cell and press Ctrl+E.
Excel showsNothing is filled

Flash Fill has no pattern until you type at least one answer.

In the video
Do this
  1. 1Select B3, Ctrl+E.
  2. 2Select C3, Data › Flash Fill.
Excel showsB3:B6 and C3:C6 filled, as typed values

The first two examples, done in Excel on the same sheet, with both examples already typed.

Watch it done in Excel

The last example above, recorded in real Excel on the same grid.

Exam traps

A formula instead of Flash Fill

A formula can build the same text, but the task says Flash Fill and our grader checks for typed values. Use Ctrl+E.

An empty column in between

Flash Fill reads the data beside it. With an empty column between the names and the example, it found no pattern and filled nothing.

Not checking the result

Flash Fill guesses from your example. A row that does not fit the pattern, such as a name with a middle name, can come back wrong. Read every filled cell before moving on.

Starting in the wrong cell

Select the cell under the example, not the example itself. If the task gives no example, type the first answer, then select the cell below it.

FAQ

Where is Flash Fill?

On the Data tab, select Flash Fill, or press Ctrl+E.

Does Flash Fill update when the data changes?

No. Its results are typed values, so they stay as they are until you fill again.

Do I select the whole column first?

No. Select the cell under the example: Flash Fill fills down as far as the data beside it goes.

Try it under exam conditions

Take a full, timed MO-211 practice exam, upload the workbook you built, and get a score out of 1000 with a per-task breakdown of where the points went. Your first one is free.

No credit card needed.