How to use Flash Fill in Excel (split and join text)

Updated · DeskHowTo

In Excel for Microsoft 365 / Excel 2021–2024 (verified 2026-10-24), type the pattern you want in the column beside your data (for example first name only), press Enter, then start typing the second example or press Ctrl+E (Data > Flash Fill). Excel fills the rest of the column by example.

Flash Fill is static — it does not update when source data changes. For live results use formulas or Power Query.

Jump to

Applies to Excel 2013 and later, including Microsoft 365 and Excel for Mac. Excel for the web support varies — use desktop Excel when Flash Fill does not appear. Ideal for one-off cleanup before analysis.

Split a full name with Flash Fill

Example: column A has Ada Lovelace, Grace Hopper. You want first names in column B.

Show Excel the pattern

  1. In B2, type Ada and press Enter.
  2. In B3, start typing Grace. Excel may show a grey preview of the remaining first names.
  3. Press Enter to accept the preview, or select Data > Flash Fill, or press Ctrl+E.

Join or reformat

  1. To build Lovelace, Ada from first/last columns, type one full example, then Flash Fill.
  2. For phone formats, type (555) 0100 as the first example matching your digits, then Ctrl+E.

Confirm and keep a backup

  1. Scan for wrong guesses (middle names, suffixes like Jr).
  2. Copy the Flash Fill column and Paste Special > Values if you need a clean snapshot.
  3. Keep the original column until you verify counts match.

Flash Fill vs formulas vs Text to Columns

JobPrefer
One-off cleanup, messy patternsFlash Fill
Results must update when source changesFormulas (LEFT/TEXTSPLIT)
Simple split on a delimiterText to Columns
Recurring import every weekPower Query

Our take: Flash Fill is a scalpel for messy lists, not a substitute for a proper import pipeline.

If it fails

  • Ctrl+E does nothing: enable Flash Fill under File > Options > Advanced, and ensure the sheet is not protected.
  • Preview never appears: give two clear examples, or select the destination range and click Data > Flash Fill.
  • Wrong pattern mid-column: undo, add a corrected second example, Flash Fill again.
  • Numbers lose leading zeros: format the destination column as Text before Flash Fill.

Frequently asked questions

What is the Flash Fill shortcut?

Ctrl+E on Windows in Excel. You can also use Data > Flash Fill.

Does Flash Fill update automatically later?

No. It pastes static values. Use formulas if the source will change.

Can Flash Fill split first and last names?

Yes — type the desired first name (and optionally last name in another column) as examples, then Flash Fill.

Flash Fill vs Text to Columns?

Text to Columns is better for clean delimiters; Flash Fill handles irregular examples.

Why did Flash Fill mess up middle names?

Your examples were ambiguous. Add a clearer second example or clean outliers manually.

Sources checked: Microsoft Support: Using Flash Fill in Excel. Verified October 2026.