How to Split Full Names in Excel
Splitting “Jane Smith” into first and last name is easy with one click. But things get tricky with middle names, “Last, First” order, or surnames like “de la Cruz.” Here’s how to split names that really work.
Rowlum · Updated November 2026 · 5 min read
Why splitting names is secretly hard
Splitting Jane Smith is simple: one space, two parts. But real name lists are rarely that neat. They often include middle names (Mary Anne Jones), reversed order (Smith, Jane), honorifics (Dr. Jane Smith), suffixes (Robert King Jr.), and compound surnames (Ana de la Cruz).
If you split on every space without thinking, names like de la Cruz end up in three columns. The real question isn’t how to split, but which rule to use. Usually, the first word is the first name and everything after it is the last name. Once you decide on the rule, the method you use matters less.
Three ways to split
Text to Columns — fastest for clean lists
Select the column, then Data → Text to Columns → Delimited → Space → Finish. This works well when every row is just First Last. The downside is that it splits on every space, so middle names and compound surnames end up in extra columns.
Flash Fill — learns from your example
In the column next to the names, type the first name for row 1 and press Ctrl+E. Excel will spot the pattern and fill in the rest. Do the same for the last name. Since it learns from your examples, it handles irregular names much better. Just check a few rows afterward to make sure.
Formulas — full control, keeps surnames intact
First name: =LEFT(A2,FIND(" ",A2)-1). Last name (everything after the first space, so de la Cruz stays whole): =MID(A2,FIND(" ",A2)+1,LEN(A2)). In Excel 365, =TEXTSPLIT(A2," ") splits into columns all at once.
The messy cases that break everything
Before you trust the result, check for common issues: “Last, First” order (split on the comma, not the space), honorifics and suffixes (Dr., Jr.—remove them first), single-word entries (like a company name in a people column), and blank cells.
FAQ
How do I split a full name into first and last name in Excel?
The quickest way for a simple “First Last” list is Data → Text to Columns → Delimited → Space. For irregular names, Flash Fill (Ctrl+E) usually works better since it learns from your example, and formulas give you full control. Choose based on how tidy your names are.
How do I handle middle names or “Last, First” order?
A plain space split won’t work because it just cuts on every space. Flash Fill handles these well if you type two or three correct examples first, or you can use a formula based on the comma (for “Last, First”) or the first space (to keep everything after it as the surname). Often, it’s easiest to fix the order first, then split.
What about two-word surnames like “de la Cruz” or “van der Berg”?
Splitting on every space spreads them across columns. Instead, take everything after the first space as the last name. Flash Fill learns this from examples, and the formula =MID(A2,FIND(" ",A2)+1,LEN(A2)) does it directly, so compound surnames stay together.
Keep going
- Standardize dates in Excel — another clean-up every messy export needs.
- Keep leading zeros in a CSV — for IDs and zip codes.
- Browse all Rowlum spreadsheet guides.