Templates, guides & honest tool reviews for small business

Sunday, November 29, 2026

Text to Columns in Excel: Split Names, Dates and CSV Text

Text to Columns in Excel: split one column into several
Illustration: Text to Columns in Excel

Text to Columns in Excel splits the text in one column into several columns, using a separator such as a comma or a space, or a fixed width. It is the quickest way to separate full names into first and last name, split a date and time, or open a pasted CSV line. This guide shows the steps for both modes, how to set the destination so you do not overwrite data, how to fix dates and leading zeros, and when a formula is the better choice. The sample data is made up.

Split a column with a delimiter

  1. Select the column that holds the text, for example A2:A50.
  2. Go to the Data tab and click Text to Columns.
  3. Choose Delimited and click Next.
  4. Tick the separator that matches your data: Tab, Semicolon, Comma, Space or Other.
  5. Check the Data preview, then click Next.
  6. Click Finish.

For "Ann Lee" in A2 with Space ticked, "Ann" stays in A2 and "Lee" goes into B2.

Text to Columns in Excel, delimited steps
Six steps (illustration).

Set a destination so you keep the original

By default Excel writes the results over the original column and over any cells to its right. On step 3 of the wizard, change the Destination box to a safe cell such as $C$2. The original column then stays as it was. Make sure the cells to the right of the destination are empty, because Excel will overwrite them.

Set the destination in Excel Text to Columns to keep the original data
Avoid overwriting data (illustration).

Split with a fixed width

Choose Fixed width in the first step when each part has the same length, such as codes like "NY2026". Click in the preview to add a break line, drag it to move it, and double click it to remove it. Fixed width suits old exports with aligned columns.

Split full names into first and last name

Use Delimited with Space. If some names have a middle name, those rows spill into a third column, so leave room for it. Clean the data before you split. Extra spaces cause empty columns, so see how to remove extra spaces in Excel first.

Split full names into first and last name with Text to Columns
Made-up names (illustration).

Treat consecutive delimiters as one

Tick "Treat consecutive delimiters as one" when the text has double spaces or repeated commas that should not create empty columns. Leave it off when empty fields matter, for example a CSV line where a missing value must keep its place.

Keep leading zeros and fix dates

On the last step of the wizard, click a column in the preview and set its Column data format. Choose Text for codes such as 00123, so the zeros are kept. Choose Date and pick an order such as DMY or MDY to read dates correctly. Leave General for everything else. A wrong date order is a common reason a split date looks wrong, so check one row after finishing.

Keep leading zeros in Text to Columns by choosing Text format
Set the column data format (illustration).

Text to Columns or a formula?

Text to Columns is a one-time action. If the source data changes, you must run it again. A formula updates by itself. Our guide to the LEFT, RIGHT and MID functions shows how to split text with formulas. In Excel 365 the TEXTSPLIT function can also do it, but it is not in older versions.

Split text in Google Sheets

Google Sheets has Data, then Split text to columns, and a SPLIT function. See our SPLIT function examples for the formula version.

Common problems

  • Data got overwritten. You used the default destination. Press Ctrl+Z straight away and set a destination next time.
  • Numbers lost their zeros. Set the column format to Text on the last step.
  • Dates changed. Set the date order on the last step.
  • The button is greyed out. You selected more than one column. Select a single column.

Questions and answers

Can I split a column into rows?

Not with Text to Columns. Split into columns first, then copy and use Paste Special with Transpose, or use a formula.

Can I split by a word instead of a character?

Under Other, you can type a single character. For a whole word, use Find and Replace to swap the word for one unused character first, or use a formula.

Does Text to Columns work on a whole table?

It works on one column at a time. Repeat it for each column that needs it.

What is the shortcut?

Press Alt, then A, then E in Windows Excel to open the wizard from the keyboard.

العربية