To split text into separate Excel columns, put the values in one column, select those cells, then choose Data > Text to Columns and follow the wizard. Choose Delimited for values separated by a character such as a comma, or Fixed width when the split points occur at set positions.
What Text to Columns Does
Text to Columns takes text stored in one cell or a single column and distributes its parts across neighboring columns. For example, it can turn Lee, Morgan into a surname in one column and a given name in the next, or separate a line of tab-separated inventory fields into several cells. It changes the layout of data; it does not automatically create a permanent connection between the original text and the resulting columns.
The command is especially useful when an import, report, or copied list arrives as one long field. Excel may already split data when you paste it, particularly when the clipboard contains tab-separated cells. If the values are already in separate columns, there is no need to run the wizard. Text to Columns is for cases where a cell contains multiple pieces that should be separated.
Prepare the Data Before Splitting
Make a copy of the source column or duplicate the worksheet before making a large change. Text to Columns writes its results into cells to the right of the selected data. If those cells contain information, the wizard may warn that existing data will be replaced; cancel and choose a clear destination rather than risk overwriting it. Keeping the original also makes it easier to check whether the split worked as intended.
- Check a few representative rows, including the longest or least regular entries.
- Identify the actual separator. A comma in an address may be part of the address rather than a boundary between fields.
- Make sure the selected range does not include unrelated columns or a heading you do not want split.
- Consider whether leading zeros, dates, long numbers, or other values must keep their original appearance.
A clean, consistent source is easier to split. If some rows have a delimiter and others do not, the output may have blank cells or fields in different columns. Decide how those exceptions should be handled before distributing data used in reports, imports, or other records.
Split Delimited Text Step by Step
Use these steps in Excel for Microsoft 365 on Windows when, for example, a column contains entries such as Oranges,12,Produce.
- Select the cells containing the combined text. If the data is in one continuous column, you can select its populated cells or click its column heading if the whole column is appropriate.
- Open Data > Text to Columns on the ribbon.
- In the Convert Text to Columns Wizard, select Delimited, then choose Next.
- Tick the delimiter that separates the fields, such as Comma, Tab, Semicolon, or Space. Use Other to enter a different single character.
- Review the preview. Adjust delimiter and text-qualifier settings until the preview shows the intended fields, then choose Next.
- In the final step, choose a destination if you do not want the output to start in the original column. Set column formats when needed, then choose Finish.
With the example above and Comma selected, the preview should show three fields: Oranges, 12, and Produce. If a field contains a comma that should remain within it, check the text qualifier setting and make sure the source uses matching quotation marks around that field. A preview is worth checking carefully: it is easier to change a wizard setting before finishing than to repair a large split afterward.
Choose Delimiters and Text Qualifiers Carefully
A delimiter is the character that marks a boundary between fields. Commas are common in comma-separated data, tabs in copied tables, and semicolons in some regional or exported files. A space is appropriate only when spaces truly separate fields. If names or descriptions contain spaces, selecting Space can split one logical value into several columns. For instance, splitting Riley Ann Chen on every space creates three pieces, not a single first-name field and a surname field.
The Treat consecutive delimiters as one option can help when repeated separators mean the same thing as a single separator. But it can also remove the distinction represented by empty fields. For example, two consecutive commas in a structured record may indicate a missing value between two populated fields; treating them as one can shift the later fields into the wrong columns. Check the preview and the meaning of the source format before using this option.
The text qualifier, commonly a double quotation mark, tells Excel that delimiters inside a quoted field are part of that field. A record like Chen,"Research, West",Active should be split at the commas outside the quotes, leaving Research, West together. If the source uses a different quoting convention, inspect the wizard’s qualifier choices and test a representative row.
Use Fixed Width for Position-Based Splits
Choose Fixed width instead of Delimited when fields occupy consistent character positions and there is no reliable separator. The wizard displays a preview where you can add, move, or remove break lines. For example, a report may place a six-character product code first and a description after it; a break after the sixth character may separate them consistently.
Fixed width is not a good fit for variable-length data. If one row has a short code and another a longer code, the same break may cut a value in the wrong place. It can also split words if the text is not padded to a consistent layout. Compare several rows in the preview, especially entries with unusually long or short fields, before finishing. If the source has clear separators, Delimited is usually more resilient than counting character positions.
Preserve Numbers, Dates, and Leading Zeros
Excel may interpret split fields as numbers or dates when the column format is set to General. That can be helpful for values intended for calculation, but harmful for identifiers. A code such as 00427 may become 427 if Excel treats it as a number. In the wizard’s final step, select the relevant output column in the preview and set its data format to Text to preserve the characters, including leading zeros.
For date-like values, select the appropriate date order in the wizard when the source has a clear format, such as day-month-year. A string like 03/04/2025 is ambiguous: it could mean March 4 or April 3 depending on the convention. Do not rely on a guess if the date has business significance; confirm the source’s date order and inspect the result. You can also set a destination column’s format before splitting, but verify the wizard’s preview and resulting values rather than assuming formatting alone has preserved the original text.
Long digit strings such as account or tracking identifiers should generally be treated as text, not as quantities. Excel has a limit on numeric precision, so keeping an identifier as text avoids unintended changes as well as loss of leading zeros. Use General only when interpreting the field as a number or date is actually desired.
Common Problems and How to Fix Them
- Everything stays in one column: The chosen delimiter may not match the source. Try Tab, Comma, Semicolon, or Other, one at a time, and watch the preview. A delimiter may also be hidden or inconsistent in the source.
- Names or descriptions split too far: Space is splitting every space. Use a delimiter that marks the actual field boundary, or use a different cleanup method for irregular data.
- Values disappear or land in unexpected columns: Check for populated cells to the right of the source and examine the selected range. Choose a blank destination if preserving existing material matters.
- Leading zeros vanish or dates change: Set the output column format to Text for identifiers, or confirm the source date order and choose the correct date option before finishing.
- Some rows split differently: The source may have inconsistent separators, missing fields, or extra separators within values. Review those rows individually and decide whether to standardize the source first.
If a result is wrong, use Undo immediately if it is available, then run the wizard again with corrected settings. Undo behavior can depend on what you have done since the split, so maintaining a source copy is safer than relying on it. For important data, compare the number of output fields and a sample of rows against the original before deleting the source.
Text to Columns Compared with Other Options
Text to Columns is a practical one-time tool for a consistent column. If new files arrive regularly and need the same import cleanup, Power Query is often a better repeatable process: it can import and transform data, and then refresh the query when the source changes. It requires more setup than a quick wizard operation but avoids repeating every manual step.
For a small, ongoing task in Microsoft 365 or Excel 2024, formulas such as TEXTSPLIT can return separated values from a delimiter. This approach updates when the source cell changes, unlike a completed Text to Columns operation. It is not available in every older Excel release, and formula results can spill into neighboring cells, so leave sufficient room. For a single irregular entry, editing the text manually may be quicker; for many rows or repeated work, assess whether a formula or Power Query is easier to maintain.
On Excel for Mac, the Text to Columns command is also found on the Data tab, though ribbon layout and wizard presentation can differ by release. Excel for the web may not present every desktop wizard option; if the command or setting you need is absent, open the workbook in the desktop app. In any version, work from a copy when the original data must remain intact.
Frequently Asked Questions
How do I split text into columns in Excel?
Select the cells, choose Data > Text to Columns, choose Delimited or Fixed width, set the relevant options, inspect the preview, and finish. Check that the output area is empty or select another destination.
How do I split a cell by a comma?
Select the column containing the comma-separated values, open Text to Columns, choose Delimited, and tick Comma. Check whether quoted fields contain commas that should stay within a field, and review the preview before completing the split.
Can I split text by a space in Excel?
Yes. In the Delimited wizard, select Space. This separates on spaces, so a full name or phrase may become multiple fields. If you need only a particular word boundary, choose a more suitable method or prepare the text so the intended boundary is unambiguous.
How do I keep leading zeros when using Text to Columns?
In the wizard’s final step, select the output column in the preview and choose Text as its column data format. This is useful for codes and identifiers that look numeric but are not meant for arithmetic.
Can Text to Columns split text into rows instead?
No. The wizard distributes fields across columns. If you need a vertical list, first split into columns and then use a suitable transpose or transformation workflow, taking care to preserve the relationship between each row’s fields.
Will Text to Columns update when the original text changes?
No. It produces a one-time split, not a live link to the original cell. If the source changes repeatedly, consider a formula-based method or Power Query so the result can be recalculated or refreshed.
Related
- Excel Shortcut Keys for Switching Between Worksheets
- Excel Shortcut Keys for the Next Sheet in a Workbook
- Excel Named Range Data Validation List: Setup and Fixes
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Remove a Blocked Sender in Outlook SettingsTo remove a blocked sender in Outlook, open your email account’s junk or blocked-senders settings, find the address…
- Excel Key to Delete a Row: Shortcut and OptionsIn Excel for Microsoft 365 on Windows, press Shift+Space to select the current row, then press Ctrl+- (Ctrl…
- Prevent Duplicates in Google Sheets: 3 Reliable MethodsTo prevent duplicate entries in Google Sheets, select the cells where new values will go, open Data >…
- Excel File Opens to a Blank Gray Screen? FixesIf an Excel file opens to a blank gray screen, first check whether the workbook is hidden or…
- Present PowerPoint Without Showing NotesYes. PowerPoint normally keeps speaker notes off the audience’s slide show; to make sure they stay private, present…
- How to Undo Block Sender in Outlook and Unblock EmailsTo undo Block Sender in Outlook, remove the address or domain from your blocked senders list: in Outlook…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.