Split Names Separated by “and” into Excel Columns
Question details
Split names separated by the word “and” into separate spreadsheet columns.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A cell contains text such as “Mr Smith and Mr Potter,” and each name needs to appear in its own column.
- Observed behavior
- Each name should appear in a separate column without the word “and.”
Check that the names use the consistent delimiter “ and ”, including one space on each side. Make sure the columns where the split results will appear are empty.
Split names with the TEXTSPLIT formula
Use TEXTSPLIT when your version of Excel supports it and you want results that update with the source cell.
If the text is in A1, select B1 and enter =TEXTSPLIT(A1," and ").
Drag the fill handle from B1 down to apply the formula to other rows. Each result spills into the columns to the right.

Split names with Power Query
Use Power Query when TEXTSPLIT is unavailable or when you want to repeat the split on refreshed data.
Separate names into columns with WPS Spreadsheets
In WPS Spreadsheets, replace the multi-character separator with a unique character, then use Text to Columns to split the names.
- 1. Copy the names: Open the file in WPS Spreadsheets and copy the names column to an empty column, leaving enough empty columns to its right.
- 2. Replace the separator: Select the copied cells and press Ctrl+H. Find “ and ”, including the spaces but not the quotation marks, and replace it with a character that does not appear in the names, such as |. Choose Replace All.
- 3. Split the column: Keep the copied cells selected and choose Data > Text to Columns. Select Delimited, choose the custom or Other delimiter option, and enter |.
- 4. Finish the split: Check the preview and destination, then choose Finish to place the names in separate columns.

Frequently Asked Questions
Why does the TEXTSPLIT delimiter include spaces?
Using " and " removes the spaces around the separator as well as the word itself. It also avoids splitting a name that merely contains the letters “and.”
Can Excel Text to Columns split directly on the word “and”?
The standard Text to Columns tool does not directly support a multi-character delimiter. Use TEXTSPLIT or Power Query, or first replace “ and ” with a unique single character.
What can I use if I have Excel 2021?
Excel 2021 does not include TEXTSPLIT. Select your data and use Data > From Table/Range, then split the names column by the custom delimiter “ and ” in Power Query.
Why does my TEXTSPLIT formula show a spill error?
The formula needs empty cells to the right for its results. Clear any cells blocking the spill range, then check the formula again.




