ABREDATHE PRACTICAL WEB
Documents & FilesABREDA Editorial

How to Split Text Into Separate Columns in Excel Using Commas or Spaces

Pasted contacts or order exports can arrive as a single spreadsheet column. Splitting every comma can break quoted addresses, while spreadsheet type conversion can remove leading zeros from identifiers.

MacBook Pro on a white table
MacBook Pro on a white table · Photo source: Unsplash original

What is the problem?

Pasted contacts or order exports can arrive as a single spreadsheet column. Splitting every comma can break quoted addresses, while spreadsheet type conversion can remove leading zeros from identifiers.

Step-by-step solution

  1. Inspect the actual field separator

    Determine whether commas, tabs or repeated whitespace separate the fields. Preserve a quoted field containing a comma rather than treating the punctuation as a new boundary.

    Laptop and smartphone analytics workspace
    Laptop and smartphone analytics workspace · Photo source
  2. Use Excel's import preview

    Select the source column and open Text to Columns from the Data tab in a supported desktop version. Choose a delimiter and destination without overwriting neighboring data.

    A person working on a laptop
    A person working on a laptop · Photo source
  3. Preserve codes and review untrusted values

    Set postal codes or identifiers to Text when importing. Values beginning with formula markers can be interpreted as formulas, so handle untrusted data carefully.

Alternative method

On versions supporting TEXTSPLIT, a formula can distribute values into adjacent cells. Make sure the spill area is empty and check the available options.

Known limitations

Multiline quoted CSV records and embedded tab characters are unsupported. The converter does not sanitize formulas or prevent automatic spreadsheet type conversion.

Frequently asked questions

Why did a product code lose its leading zero?

Excel may have interpreted the identifier as a number. Reimport the original with the destination column set to Text instead of trying to recover lost digits.

Official primary sources

This article uses the official references below; consult them for the full guidance.

← All magazine articles한국어 버전 →