Excel: How to Parse Data (split column into multiple)
Excel: How to Parse Data (split column into multiple)
In local version of Excel 365 (or Excel 2016, 2013, 2010) it's possible to parse data from one column into two or more columns. And you can do it in a few simple steps. Suppose column A contains "Last Name, First Name". Follow these steps to split the data from column A into a "Last Name" column and a "First Name" column. No cutting and pasting necessary!
Open the Excel spreadsheet containing the data you want to split, then:
- Highlight the column that contains the combined data by clicking the letter directly above the column.
- Click the “Data” tab in the ribbon, then look in the "Data Tools" group and click "Text to Columns." The "Convert Text to Columns Wizard" will appear.
- In step 1 of the wizard, choose “Delimited” > Click [Next].
- A delimiter is the symbol or space which separates the data you wish to split. For example, if your column reads “Smith, John” you would select “Comma” as your delimiter. Select the delimiter within your data.
- Check the box next to "Treat consecutive delimiters as one."
- Click [Next].
- Under "Column data format," choose "General."
- Click the arrow icon at the far right of the "Destination" text box.
- Highlight the columns you wish to contain the split data by clicking the letters directly above the columns (you can choose columns from anywhere within the spreadsheet). Or, manually click and drag to select the sells you wish to contain the split data.
- Click the red arrow/spreadsheet icon once more to return to the wizard.
- Click [Finish].
- If a Microsoft Execel Alert pops up with the message "There's already data here. Do you want to replace it?" Click [OK].
Note:
If the data you wish to split does NOT contain a delimiter (dash, comma, tab etc.) to separate the data, select "Fixed width" within the first step of the "Convert Text to Column" Wizard. This option allows you to manually created divisions within your data by dragging a break line.
If you use the online version of Excel 365, it's possible to parse data. Here are a few simple steps.
Open the Excel spreadsheet containing the data you want to split, then:
- Highlight the column that contains the combined data (e.g., Last Name, First Name) by clicking the letter directly above the column.
- Click the “Data” tab in the ribbon, then click "Text to Columns." A "Text to Columns" window will appear.
- In step 1, select a “Delimited” > Click [Apply].
- A delimiter is the symbol or space which separates the data you wish to split. For example, if your column reads “Smith, John” you would select “Comma” as your delimiter. Select the delimiter within your data, or create a custom delimiter.
- Click [Apply].
Note:
The online version of Excel has very limited capabilities and does not have a "Fixed Width" feature.
Posted in Computer Help