Skip to content
Advertisement

Google Sheets – Parse unsorted comma separated values from one column, into separate columns. The values are not always in the same order

Three example rows from that column are shown below.

My desired outcome would be:

e.g.

Any help would be great 🙂

Advertisement

Answer

Indeed it looks like JSON. You could replace all the ' with " and paste the records here: https://codebeautify.org/jsonviewer

The complete string for the examples you provided would be:

After that, clicking the button JSON to CSV generates the values sorted by columns like this:

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement