The split function in Excel is not a single function but a set of tools—Text to Columns, Flash Fill, and functions like TEXTSPLIT, LEFT, RIGHT, MID, and FIND—that separate text into multiple cells. For the quickest split, select your data, go to Data > Text to Columns, choose Delimited or Fixed width, and follow the wizard.
What Does “Split” Mean in Excel?
In Excel, splitting refers to dividing a single cell’s content into two or more cells. Common use cases include separating full names into first and last names, splitting addresses into street, city, and zip code, or breaking comma-separated lists into individual columns. Excel offers several methods, each suited to different data shapes and volumes.
Method 1: Text to Columns (Built-in Wizard)
The oldest and most straightforward tool is Text to Columns. It works on a single column at a time and is ideal for one-off splits.
- Select the column containing the text you want to split.
- Go to Data > Text to Columns.
- Choose Delimited (if your text uses commas, tabs, spaces, or other characters) or Fixed width (if you want to split at specific character positions).
- For Delimited, check the delimiter(s) you need (e.g., Comma, Space). For Fixed width, click in the preview to add break lines.
- Choose the destination cell (default is the original cell, but you can click the field and select a new starting cell).
- Click Finish.
Note: This overwrites the original column unless you choose a different destination. On Mac, the path is the same (Data tab > Text to Columns).
Method 2: TEXTSPLIT Function (Modern Excel)
If you have Excel 365 or Excel 2024, the TEXTSPLIT function is the most flexible. It splits text into rows or columns using a delimiter.
Example: Assume cell A1 contains “apple,banana,cherry”. To split into separate cells in a row, use:
=TEXTSPLIT(A1, ",")
This returns three cells: apple, banana, cherry. To split into a column instead, add a third argument for row_delimiter:
=TEXTSPLIT(A1, ",", ",")
But that’s redundant. Actually, to split into rows, you need to specify the column delimiter as empty and the row delimiter as the comma:
=TEXTSPLIT(A1, , ",")
This spills results down a column. The function supports multiple delimiters, e.g., =TEXTSPLIT(A1, {",",";"}) splits on both comma and semicolon. It also has options for ignoring empty values and case sensitivity.
Method 3: Flash Fill (Quick Manual Split)
Flash Fill (introduced in Excel 2013) automatically fills cells based on a pattern you start. It’s great for splitting without formulas.
- Type the first desired result in the cell next to your data (e.g., type “John” from “John Smith” in B1).
- Select the cell and press Ctrl+E (Windows) or Cmd+E (Mac).
- Excel will fill the rest of the column with the split pattern.
Flash Fill is smart but can be inconsistent with complex patterns. It’s best for simple splits like first/last name or extracting numbers from text.
Method 4: LEFT, RIGHT, MID, and FIND Functions
For dynamic splits that update when the source changes, use text functions. These are useful when you need to split based on a specific character position.
Assume cell A2 contains “John Smith”. To get the first name:
=LEFT(A2, FIND(" ", A2) - 1)
This finds the space position and returns everything before it. To get the last name:
=RIGHT(A2, LEN(A2) - FIND(" ", A2))
If the text has multiple spaces, you might need TRIM first. For more complex splits, combine MID with FIND.
How to Choose the Right Split Method
- One-time cleanup: Use Text to Columns.
- Repeating data that updates: Use TEXTSPLIT (if available) or LEFT/RIGHT/MID.
- Irregular patterns: Use Flash Fill.
- Splitting into rows (not columns): Use TEXTSPLIT with row delimiter.
- Older Excel versions (2016, 2019): TEXTSPLIT is not available; use Text to Columns or formulas.
Common Problems and Solutions
Problem: Text to Columns overwrites adjacent data.
Solution: Always specify a destination cell far from your data, or copy the column first.
Problem: TEXTSPLIT returns #NAME? error.
Solution: Your Excel version doesn’t support it. Use Text to Columns or the older functions.
Problem: Splitting by space breaks names with middle initials.
Solution: Use a delimiter that is more specific, or use Flash Fill and correct the few mis-fills.
Problem: Numbers split as text.
Solution: After splitting, select the new columns and use the error icon to convert to number, or multiply by 1.
Frequently Asked Questions
Q: How do I split a cell into multiple rows?
A: Use TEXTSPLIT with the row_delimiter argument. For example, if A1 has “a,b,c”, use =TEXTSPLIT(A1, , ",") to spill the values down a column. If you don’t have TEXTSPLIT, you can use Text to Columns and then transpose (copy, right-click > Paste Special > Transpose).
Q: Can I split by multiple delimiters at once?
A: Yes, with TEXTSPLIT you can use an array of delimiters, e.g., =TEXTSPLIT(A1, {",",";"}). In older versions, you’d need to nest SUBSTITUTE functions or use multiple Text to Columns passes.
Q: Why is my TEXTSPLIT formula not working?
A: TEXTSPLIT is only available in Excel 365 and Excel 2024. If you are on an older version, you’ll get a #NAME? error. Also, ensure the delimiter is in quotes if it’s text.
Q: How do I split a column of full names into first and last names?
A: Use Text to Columns with Space as the delimiter. For a formula approach, use =LEFT(A2, FIND(" ", A2)-1) for first name and =RIGHT(A2, LEN(A2)-FIND(" ", A2)) for last name. For names with middle names, you may need more complex formulas or Flash Fill.
Q: Is there a way to split text without using any function?
A: Yes, use Text to Columns or Flash Fill. Both are menu-driven and don’t require typing formulas.
Safety and Data Integrity Tips
Always work on a copy of your data before splitting, especially if you’re using Text to Columns, because it overwrites the original column. For formulas, be aware that splitting might change number formats—ensure the result cells are formatted as text or numbers as needed. If you split a column that contains formulas, the results will be values, not formulas. Also, if your data contains leading/trailing spaces, use TRIM before splitting to avoid errors.
Related
- Shortcut to Exit Window? Quick Keys & Fixes
- Data Entry and Data Management: Clear Answers
- Google Sheets Percentage of Total: Easy Formula
Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.
More in Formulas & functions
- Using OFFSET in Excel: Syntax, Examples, AlternativesIn Microsoft Excel for Microsoft 365, OFFSET returns a reference to a cell or range at a specified…
- Excel Filter in Table Format: How to Set Up and Use ItTo filter data in an Excel table, click a cell in the table and use the drop-down arrow…
- SPLIT Function in BigQuery: Syntax & ExamplesThe SPLIT function in BigQuery splits a string into an array of substrings based on a delimiter. For…
- Excel SUMIF for Text: Match and Join Text Values EasilyExcel has no SUMIF function that adds text strings, but in Microsoft 365 you can use TEXTJOIN with…
- Excel Cheat Sheet: Essential Formulas & ShortcutsThe fastest way to work in Excel is to memorize a core set of formulas and keyboard shortcuts—this…
- How to Paste in Excel When a Filter Is Applied SafelyTo paste into a filtered Excel list without changing hidden rows, select the destination cells, choose Home >…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.