Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Duplicating rows based on cell values separated by comma in Google Sheets

$
0
0

I have the following sheet in which I would like to duplicate the rows according to Product ID, Flavors, and Quantities. Unfortunately the data I was given is quite messy and difficult to split with 516 rows. This is what I am attempting:

Split Product ID column using Data > Split Text to Columns...and somehow duplicating the surrounding information like Customer Name and Address, but also adding a Quantity and Flavors column parsed from the Flavors and Quantities column.

I have attempted using scripts I've found throughout the forum but cannot replicate the same results I want in the example picture below.

what I'm attempting


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>