Flash Fill infers a pattern from examples you type, so splitting full names into first and last name takes seconds instead of a formula. Because it creates static values rather than a formula, each split must be checked against the original name before the source column is deleted.
Prerequisites
- Excel 2016 or later
- A CSV with a full-name column
- A copy of the source file, so the original stays untouched.
Steps
- Keep the full-name column and add two empty columns headed First name and Last name.
- Type the first name for the first two rows, then start the third row and accept the Flash Fill preview if it appears.
- If no preview appears, select the column and press Ctrl+E or choose Data, Flash Fill.
- Read each split name against the original full name, and fix any name with a middle name or double surname by hand.
- Keep the original full-name column until the check is done, then hide it rather than deleting it.
Worked example: Fictional member names split with Flash Fill
The practice table below is a fictional five-member list after splitting. The count column is 1 per member, and the total is the number of members. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.
| First name | Last name | Count |
|---|---|---|
| Farah | Ahmed | 1 |
| George | Baker | 1 |
| Hannah | Cole | 1 |
| Ivan | Dunn | 1 |
| Julia | Evans | 1 |
| Total | 5 |
Expected result. Five names split, each first and last name matches the original, and the count is 5.
Limits
- Flash Fill creates values, not formulas, so a change to the source name will not update the split.
- Names with middle names or double surnames may split wrongly, so check those rows by hand.
