Skip to main content
All CollectionsCSV Files
Split CSV Data into Different Columns
Split CSV Data into Different Columns

How to Split Data from One Column into Two Using Excel

Updated over 2 weeks ago

To split a cell containing comma-separated values into two separate cells in both Microsoft Excel and Apple Numbers, you can use the following methods:

In Microsoft Excel:

Assuming cell A1 contains the text "Value1,Value2", you can extract each value by pasting the following formulas in the target cells:

  1. First Value:

    =LEFT(A1, FIND(",", A1) - 1)

    This formula extracts all characters to the left of the comma.

  2. Second Value:

    =RIGHT(A1, LEN(A1) - FIND(",", A1))

    This formula extracts all characters to the right of the comma.

In Apple Numbers:

Apple Numbers supports similar functions to Excel. Assuming cell A1 contains "Value1,Value2", you can use:

  1. First Value:

    LEFT(A1, FIND(",", A1) - 1)

    This extracts the text before the comma.

  2. Second Value:

    MID(A1, FIND(",", A1) + 1, LEN(A1) - FIND(",", A1))

    This extracts the text after the comma.

Note: Ensure that the delimiter (in this case, a comma) matches the separator used in your data. If your data uses a different delimiter (e.g., a semicolon or space), replace the comma in the formulas with the appropriate character.

These formulas will split the contents of a single cell into two separate cells based on the specified delimiter.

Did this answer your question?