Function Problems

Split Names Separated by “and” into Excel Columns

Anum MushtaqAnum Mushtaq Nov 18, 2026 871 views

Question details

Split names separated by the word “and” into separate spreadsheet columns.

Split Names Separated by “and” into Excel 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.”
Before you start

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.

Solution 1Recommended

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.

1
Enter the formula

If the text is in A1, select B1 and enter =TEXTSPLIT(A1," and ").

2
Fill down

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 the TEXTSPLIT formula
Check function availability: TEXTSPLIT is available in Microsoft 365 and Excel 2024, but not in Excel 2021. If your version does not support it, use Power Query instead.
Split names in WPS Spreadsheets

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. 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. 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. 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. 4. Finish the split: Check the preview and destination, then choose Finish to place the names in separate columns.
Split names separated by “and” into individual columnsOpen and edit Microsoft Excel XLSX and XLS filesUse familiar spreadsheet editing toolsWork with a free, easy-to-use office suite
microsoft office alternative - wps office

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.