Flash Fill: Excel copies your example
The feature we'll use is called Flash Fill. You show Excel what you want once, and it spots the pattern and fills in the rest of the column.
I like to think of it as a new colleague who learns by watching. You do the first one while they look over your shoulder. Then they say, "Got it, I'll do the rest."
There's no formula to learn. It isn't Copilot either. Microsoft lists Flash Fill for Excel 2016 and later.
How to split first and last name in Excel
Let's say your full names are in column A, starting in A2, and you want the first names in column B.
- Click B2 and type the first name exactly as you want it, for example "Anna".
- Press Enter.
- Press Ctrl + E.
That's it. Excel fills in the names below, in a flash. I checked these steps in Excel 2016 on Windows.
For the last names, do the same in column C: type the first surname, press Enter, then Ctrl + E.
The Flash Fill shortcut: Ctrl + E
Ctrl + E is the Flash Fill shortcut in Excel on Windows. It's the one key combination worth remembering from this whole article.
Not a shortcut person? That's fine. Some people never get on with them, and the button does exactly the same job.
Go to the Data tab and click Flash Fill. You'll find it in the Data Tools group, next to Text to Columns.
Joining first and last name in Excel works too
Flash Fill also works the other way round. Say a system wants names as "Kowalski, Anna". In a new column, type the first one that way, press Enter, then Ctrl + E. Excel builds the rest from your two name columns.
Sometimes Excel gets there before you. Start typing the second name, and it may show a preview of the rest of the column. Press Enter to accept it.
Flash Fill isn't just for names
Names are the classic example, and it's the one Microsoft uses. But Flash Fill isn't really a names feature. It works on any column where every row follows the same pattern.
So the next time you catch yourself doing the same small edit, row after row, try it. Show Excel one example, then press Ctrl + E, and see if it spots the pattern.
Check a few rows before you use the list
Here's the part I always stress in class. Flash Fill follows your example. It doesn't understand names. It just follows the pattern you show it.
So before you use that list in a letter to everyone on it, or in a report, scroll down and check a few rows. It takes ten seconds, and it's much nicer than an email that starts "Dear Smith".
Questions people ask
Do I need Copilot or a formula for this?
No. Flash Fill is built into Excel, and Microsoft lists it for Excel 2016 and later, including Microsoft 365.
Does Flash Fill work on a Mac?
Microsoft lists it in Excel 2021 and Excel 2024 for Mac. I tested the steps on Windows only, so the keys may be different on a Mac.
Ctrl + E did nothing. Why is Flash Fill not working?
Check that you typed the first example yourself and pressed Enter, so you're in the next cell of the same column. Then try Ctrl + E again, or use Data › Flash Fill.
Got the names on a printed sheet instead? Here's how to copy text from paper with your phone camera, so you can paste it into Excel first.
What's the most boring copy-and-paste job in your week? Flash Fill might just take it off your plate.



