How to Use Text to Columns in Excel
Text to Columns splits the contents of one column into several, using a delimiter such as a comma, or fixed character positions. It is also the quickest fix for a column of numbers that Excel is treating as text, and for dates that imported in the wrong order. For analysts cleaning exports and pasted data, it is a fast, no formula way to make raw data usable.
What Text to Columns does and when to use it
Text to Columns takes a single column and parses each cell into multiple columns. Delimited mode splits on a character you pick, such as a comma, tab, semicolon, or space. Fixed width mode splits at column positions you draw, which suits aligned reports with no separators.
Reach for it when an export lands everything in one column, when a full name needs splitting into first and last, or when pasted numbers and dates come in as text. It is a one time transform on a selection, so it fits ad hoc cleanup better than a repeatable pipeline, where Power Query would be the better choice.
Step by step
To split Last, First in column A into two columns:
- Insert a blank column to the right so the split has room to land without overwriting data.
- Select the column to split, then go to
Data > Text to Columns. - Choose
Delimitedand click Next. - Check
Comma(and Space if needed), watching the Data preview, then click Next. - For each output column, set the Column data format, then click Finish.
- Confirm the overwrite warning if Excel asks.
| Need | Mode | Key choice |
|---|---|---|
| Split CSV style data | Delimited | Pick the delimiter |
| Split aligned report | Fixed width | Draw the break lines |
| Fix number stored as text | Delimited | Format column as General |
| Reorder an imported date | Delimited | Set Date format (e.g. MDY) |
Always leave empty columns to the right so the split does not overwrite neighboring data.
A model use case
A common cleanup is a downloaded column of amounts that arrives as text, often shown left aligned with a green triangle, so SUM ignores it. Select the column, run Data > Text to Columns, click Finish on step one with format set to General, and Excel reparses each cell as a real number in place. No delimiter is needed; the act of finishing the wizard does the conversion.
The same trick fixes dates that imported in the wrong order. On the final step, set the column data format to Date and choose the source order, for example MDY or DMY, so a string like 03/04/2026 lands as the date you actually meant rather than text or a flipped day and month.
- Finishing the wizard with General format converts text numbers to real numbers.
- Set the Date format and source order to fix flipped or text dates.
- Use the Text format on a column to preserve leading zeros, such as account codes.
Pitfalls and limits
Text to Columns overwrites the columns immediately to the right without much warning, so always clear or insert space first. It is also a one shot operation: it does not refresh when source data changes, so for a recurring import use Data > Get Data and Power Query, which records the steps and can rerun them.
Watch the format on each output column. Leaving a code like 00123 or a long number on General will strip leading zeros or convert it to scientific notation, so set those columns to Text in the final step. Finally, Text to Columns reads the delimiter you choose; data containing that same character inside a quoted field can split incorrectly, in which case importing through Power Query, which respects text qualifiers, is safer.
Prepare to Share
After you split and clean an import with Text to Columns, Prepare to Share tidies the workbook so you hand off a clean file rather than one littered with leftover working columns.
Get ModelMint See how it worksFAQ
How do I convert numbers stored as text to real numbers?
Select the column, go to Data > Text to Columns, and click Finish on the first step with the column format left as General. Excel reparses each cell as a number in place. No delimiter is required; completing the wizard performs the conversion.
Why did Text to Columns delete my data?
The split writes its output into the columns to the right and overwrites whatever is there. Insert blank columns or move neighboring data before you run it. Press Ctrl+Z right away to undo if the overwrite was unintended.
Text to Columns or Power Query, which should I use?
Text to Columns is fast for a one time split or fix on a selection. Power Query, under Data > Get Data, records the steps and reruns them when the source changes, so it is better for imports you repeat or for data with quoted delimiters.