How to Convert Text to Columns in Excel

How to Convert Text to Columns in Excel

If you need to split combined text in a single Excel column into separate columns, pick the tool that matches the task: use the built-in Text to Columns wizard for quick, one-off splits; use Power Query for repeatable or messy data; or use formulas when you need dynamic results. Work on a copy and preview results before you overwrite the original column.

Choose the right approach

Which method you choose depends on how often you will repeat the operation, the complexity of the source text, and whether you need the split to update automatically when the source changes.

Method 1 — Text to Columns wizard (step-by-step)

Text to Columns is available from the Data tab and is the fastest way to split a column when the delimiter is consistent or fields are fixed width.

  1. Select the column that contains the combined text. If you have adjacent data, insert empty columns to the right to avoid overwriting.
  2. On the Data tab, click Text to Columns to open the wizard.
  3. Choose Delimited when data uses characters such as commas, tabs, semicolons, or spaces; choose Fixed width when fields align in columns of the same width. Click Next.
  4. For Delimited, select the delimiter(s) that match your text (for example, Comma). For Fixed width, click to set break lines where you want columns to split. Click Next.
  5. On the final step, set each destination column type (General, Text, Date) and the destination cell where the split data will start. Click Finish and review results.

Delimited vs Fixed width — how to decide

Delimited is appropriate when a character separates each field (commas, semicolons, pipes, tabs, or spaces). Fixed width is appropriate when each field occupies the same number of characters, for example, exported reports with column-aligned values.

Worked example: splitting "Smith, John" into two cells

  1. Place "Smith, John" in A2. Select column A and run Text to Columns.
  2. Choose Delimited, select Comma, click Next.
  3. Set Destination to B2 if you want last name in B2 and first name in C2, then Finish.
  4. If needed, trim spaces with TRIM or use Text to Columns again using Space as a delimiter.

Method 2 — Power Query for repeatable splits and complex data

Power Query (called Get & Transform in some Excel versions) imports and transforms data using a recorded series of steps you can refresh. This is the right choice when you regularly receive files with the same structure or when fields need additional cleaning.

  1. Load your data: Data tab > From Table/Range. Confirm the table range and headers.
  2. In the Query Editor, select the column and use Transform > Split Column. Choose By Delimiter or By Number of Characters depending on the pattern.
  3. Customize the split: choose left-most, right-most, or each occurrence, and trim or change types as needed.
  4. When finished, click Close & Load to return the cleaned, split table to Excel. Future file imports with the same structure can be refreshed to repeat the same steps.

Power Query can also handle nested splits, pattern-based splits, and replacements before splitting. For a guided walkthrough, see Use Power Query to split and transform columns.

Method 3 — Formulas and dynamic arrays

Formulas provide dynamic splitting that updates with the source. Modern Excel includes TEXTSPLIT and related functions; older versions require combinations of FIND, LEFT, MID, RIGHT, SEARCH, and SUBSTITUTE.

Example with TEXTSPLIT: =TEXTSPLIT(A2, ",") spills each comma-separated item into its own column. If TEXTSPLIT is not available, the classic formula path is longer but possible.

After splitting: check data types and dates

Splitting text can produce values that remain as text even when they look like numbers or dates. Confirm column data types before performing calculations or sorting.

Common mistakes and troubleshooting

These are frequent issues and how to avoid them.

Quick checklist before you split

  1. Make a copy of the sheet or file to avoid accidental loss of data.
  2. Insert empty columns to the right of your data or choose a safe Destination cell.
  3. Preview the split on a few rows to confirm delimiters or break positions.
  4. Decide whether split results should be static (Text to Columns) or dynamic (formulas/Power Query).
  5. Verify data types, especially numbers and dates, and apply conversions if necessary. For guidance on dates, see Convert delimited text into Excel dates and numbers.

When to use specialized workflows

Some scenarios need more than a simple split.

Converting text to columns is a routine but important task. Choose the right tool for frequency and complexity, preview before committing, and verify types afterwards. With those steps, you can split text reliably and avoid common pitfalls.