A colleague of mine reached out to me the other week with a question; is it possible to convert a text value such as Product 1, Product 2, Product 3…..etc. to column values in Excel?

So from something like this


To something like this:


My answer was of course yes! We can do just about anything with data in Excel.

Now clearly in the above example it wouldn’t take long to cut and paste or retype the 5 values into column format; but imagine if the list of values was 1000 values or more long (say goodbye to your evening and probably your sanity).

Thankfully Excel gives us two tools for achieving this quickly and easily

  1. Text to Columns
  2. Paste Special > Transpose

To achieve the above result quickly and easily here’s what we do:

  1. Highlight the column with the comma separated values in it, in this case highlight column A
  2. Go to the Excel Data ribbon and click the Text to Columns icon
  3. Select the Delimited optionTextValuesToColumns03
  4. Now click Next >
  5. Ensure the Comma option only is tickedTextValuesToColumns04.PNG
  6. Click Next >
  7. If your values are text values and you want to use them as text values then select the Text option; select Date for date values and for all other values (including numbers) select the General option. I’ve selected TextTextValuesToColumns05
  8. Click Finish
  9. After re-sizing column A, I now have thisTextValuesToColumns06
  10. If at the beginning I wanted the comma separated values in cell A1 to be shown as column headings then I could stop here; but instead I want these values to be listed vertically as row values in column F. To achieve this I need to continue
  11. Highlight and copy cells A1 to E1
  12. Now for the clever bit! We want to paste the values we’ve just copied into cell F1, but in a vertical column format rather than a horizontal row format. To do this go to the Excel Home ribbon and select Paste Special from the Paste icon drop down menu.
  13. Leave the Paste and Operation settings as they are, unless you see a need to change them, and tick the Transpose boxTextValuesToColumns08
  14. Click OK
  15. You should now see the values you copied shown in a horizontal column format in column F


And that’s it!

Clearly in this example we didn’t save much time but we could have saved hours if the list of comma separated values was significantly longer or if we had multiple comma separated lists to work with.

I hope you found this useful and/or interesting. If so please like, share or comment.