Excel guide ยท Reviewed 9 October 2026

How to use Flash Fill in Excel

Ctrl+E

Quick answer: Type one example of the result you want, then press Ctrl+E. Flash Fill spots the pattern and fills the rest of the column instantly.

Splitting names, pulling out email usernames or reformatting codes can eat an afternoon. With Flash Fill it takes a second. Show Excel one example and it finishes the whole column for you. It's the shortcut that makes colleagues ask how you did it so fast.

Hold Ctrl, then press E.

Step by step

  1. Put your data in one column, for example full names in column A.
  2. In the next column, type the result you want for the first row, for example just the first name.
  3. Move to the cell below and press Ctrl+E.
  4. Check the filled results. If one looks wrong, correct it and Flash Fill updates the others.

Tips & troubleshooting

  • Flash Fill works best when the column sits right next to your data, with no blank columns in between.
  • The results are fixed values, not formulas, so they won't update if the original data changes.
  • If Ctrl+E does nothing, give Excel a second example so the pattern is clearer.

What Flash Fill is good at

  • Splitting: first names, surnames or postcodes out of a longer cell.
  • Combining: first name and surname into one cell, or building an email address from a name.
  • Reformatting: 07700900123 into 07700 900123, or a product code into upper case with hyphens.
  • Extracting: the domain from an email address, the year from a reference number, the initials from a name.

Other ways to run it

  • Data tab: click Flash Fill in the Data Tools group.
  • Home tab: click Fill, then Flash Fill.
  • Automatically: as you type the second example, Excel may show the rest of the column in grey. Press Enter to accept it. If this never appears, check File, Options, Advanced, Automatically Flash Fill.

Flash Fill or a formula?

Flash Fill produces fixed values. That is perfect for a one-off clean-up of data you have just been sent. It is the wrong tool when the source will change, because nothing updates.

For data that changes, use a formula. In Microsoft 365, =TEXTBEFORE(A2," ") returns the first name, =TEXTAFTER(A2,"@") returns an email domain, and =TEXTSPLIT(A2," ") spreads every word into its own column.

Getting reliable results

  • Check the tricky rows. Middle names, double-barrelled surnames and missing values are where the pattern breaks.
  • Give two or three examples when the data is inconsistent, and include one of the awkward cases.
  • Keep the example column directly beside the data, with a header in each column.
  • Flash Fill only works down columns. It will not fill across a row.

Common questions

Why isn't Flash Fill working?

Usually because Excel can't see a pattern from one example, or there is an empty column between your example and the source data. Type a second example, remove the gap and press Ctrl+E again. Also check that Automatically Flash Fill is ticked in File, Options, Advanced.

Is there a Flash Fill shortcut on a Mac?

Microsoft doesn't document one. Use the Flash Fill button on the Data tab.

Turn it into a habit

Knowing a shortcut is one thing. Using it without thinking is another. Practise it in seconds with our free trainer.

Free weekly email

Shortcut of the Week

One genuinely useful Microsoft 365 shortcut, explained in a minute. No spam, no sharing your address, unsubscribe in one click.

By subscribing you agree to receive this weekly email. We'll ask you to confirm first. See our privacy policy.

Related guides