Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

How to Use Flash Fill in Excel to Split and Join Data

To use Flash Fill in Excel, type the result you want for the first row in the column next to your data, press Enter, then start typing the second row. Excel spots the pattern and shows a grey preview for the rest of the column; press Enter to accept it, or press Ctrl+E to run Flash Fill straight away.

Flash Fill is the closest thing Excel has to mind reading. You show it one example of what you want, say the first name pulled out of a full name, and it fills the whole column the same way. No formulas, no functions to remember. For splitting a messy export of client details into tidy columns, it's the quickest tool Excel has.

Splitting full names into first names

Say column A holds full names like Sarah Jones, and you want first names in column B.

  1. Click B2 and type Sarah, the first name from A2. Press Enter.
  2. In B3, start typing the first name from A3. Excel shows a grey preview of first names all the way down.
  3. Press Enter to accept the preview.
  4. If no preview appears, click B2 and press Ctrl+E, or go to Data and select Flash Fill.

Microsoft describes exactly this: Flash Fill fills your data when it senses a pattern, and can separate first and last names from one column or combine them from two.

Joining columns together

It works the other way too. With first names in A and surnames in B, type Sarah Jones in C2, press Enter and start typing the next full name in C3. Microsoft's own walkthrough uses this example. You'll get the full name for every row without writing a CONCAT formula.

Jobs Flash Fill handles well

Messy dataType this as your exampleFlash Fill gives you
sarah jonesSarah JonesEvery name with capital letters
Sarah JonesS. JonesInitial and surname
[email protected]shop.co.ukThe email domain
Order 7, LeedsTown: LeedsA town label on every order line

The more consistent your data, the better it guesses. If some rows follow a different pattern, give it a second example in the next row and it usually corrects itself.

Why Flash Fill isn't showing a preview

Microsoft says the most likely reason is that Flash Fill isn't switched on. You can still run it by hand with Data, Flash Fill or Ctrl+E. To turn the automatic preview back on, open Excel's options, go to Advanced, and under Editing Options tick Automatically Flash Fill.

Other common causes:

  • Your example column isn't right next to the data. Flash Fill looks at the columns beside it, so leave no gap.
  • There's a blank row in the middle of the data, which can stop the fill partway.
  • The pattern is ambiguous. Give two or three examples before pressing Ctrl+E.

The catch: Flash Fill doesn't update

This is what people miss. Flash Fill types values, not formulas. If you change Sarah to Sally in column A, the first name in column B stays as Sarah. That's fine for a one-off clean-up of an export, but for a list you keep editing, a formula such as =CONCAT(A2," ",B2) or a TEXT function keeps the result in step with the source.

It also guesses. On a long list, scroll through the results before you trust them, especially names with middle names, double-barrelled surnames or business names. One odd row can throw the pattern for everything below it. I always check the first ten rows, the last ten, and anything that looks unusually long.

Flash Fill on a Mac and in the browser

Microsoft lists Flash Fill for Excel on Windows and Mac, including Excel 2016 onwards and Excel for Microsoft 365. On a Mac the Data menu route works the same way.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

Putting cleaned columns to work

Once your names, towns or codes are in tidy columns, you can sort, filter and count them cleanly. If you want averages from those columns, such as orders per client, my guide to dividing in Excel picks up from there. For more ways to join columns, my guide to combining two columns in Excel compares Flash Fill with formulas, so you can pick the right one for each list.

Pulling details out of order notes

Exports from online shops and booking forms often cram several details into one cell. A line such as Order 7, Leeds, Gift wrap is easy to read but awkward to sort. Add three columns beside it and give Flash Fill one example in each: the order number in the first, the town in the second, the extra in the third. Press Ctrl+E in each column and you've turned one messy field into three you can filter.

It doesn't always get it right first time, and that's fine. When a row comes out wrong, correct that one cell by hand and Excel adjusts the rest of the column to match the new example. Two or three corrections on an awkward list usually get it there, which is still far quicker than retyping everything.

What I'd do

Use Flash Fill for one-off clean-ups: type one example, press Ctrl+E, then check the results. Keep the original column until you're sure. For lists that change every week, use a formula instead so the results stay up to date. It's one of my favourite Excel features because it saves so much fiddly retyping.

Frequently asked questions

What is the shortcut for Flash Fill in Excel?

Ctrl+E. You can also go to the Data tab and select Flash Fill.

Why is Flash Fill not working?

It may be switched off. Turn on Automatically Flash Fill in Excel's Advanced options, or run it manually with Ctrl+E.

Does Flash Fill update when the data changes?

No. It fills in values, so you'll need to run it again or use a formula if the source changes.

Can Flash Fill split first and last names?

Yes. Type the first name for the first row, then press Ctrl+E, and repeat in another column for surnames.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.