The following steps show how to split comma separated values from one column into many.
In this example we’ll focus on comma separated values, but the same process can be applied to any other character separated values – e.g. tab, semi-column, space
For example, if you have an Excel document that looks something like …
1 | Cat | Good,Bad,Mad,Happy |
2 | Dog | Bad,Good,Happy,Silly,Friendly |
3 | Bird | Good |
and you need to split the third column of comma separated values into their own columns.
- Select the column that contains the values you want to split
- Click on ‘DATA’ in the ribbon menu
- Click on the ‘Text to Columns’ button
- The ‘Convert Text to Columns Wizard’ will open
- Leave ‘Delimited’ selected and click ‘Next’
- Under ‘Delimiters’, untick ‘Tab’ and tick ‘Comma’ (note – here you can also choose other delimiters or enter your own, like the “pipe” character – | )
- Click ‘Next’
- Here you can specify what type of data is in each column – by default ‘General’ is selected. If your data contains numbers I recommend changing to ‘Text’ by selecting all the columns in the preview and clicking on ‘Text’
- Click ‘Finish’
- The data has now been separated into their own columns