How to expand cells with multiple values into separate rows

Your spreadsheet has cells containing multiple items separated by semicolons, pipes, or newlines. You need to normalize this data with one value per row.

This guide uses the spreadsheet editor. Jev adds decision columns instead.

Open Magic CSV

spreadsheet editor example

Prompt
"Expand each skill into its own row"
Before
#employeedepartmentskills
1Alice ChenEngineeringPython; JavaScript; SQL
2Bob SmithDesignFigma; Photoshop
3Carol DavisMarketingSEO; Content Writing; Analytics; Social Media
After
#employeedepartmentskill
1Alice ChenEngineeringPython
2Alice ChenEngineeringJavaScript
3Alice ChenEngineeringSQL
4Bob SmithDesignFigma
5Bob SmithDesignPhotoshop
6Carol DavisMarketingSEO
7Carol DavisMarketingContent Writing
8Carol DavisMarketingAnalytics
9Carol DavisMarketingSocial Media

Why use the spreadsheet editor for this?

  • Handle any separator: commas, semicolons, pipes, newlines
  • Normalize denormalized data for proper analysis
  • Prepare data for relational database imports

Related guides

Continue in the spreadsheet editor.

Use the spreadsheet editor, AI columns, and cleanup tools within the same Magic CSV account.

How to expand cells with multiple values into separate rows | Magic CSV