Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

How to split a row into multiple rows based on cell value

Topic Labels: Formulas
Solved
Jump to Solution
1825 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Dropit_Shopping
4 - Data Explorer
4 - Data Explorer

Hi all,

I’m facing the following challenge:

I have a table with a list of Product items (Catalog), to simplify the question I have 3 columns:

Product name | Product ID | Sizes
e.g.
Red Tshirt | 14828 | S,M,L
or
Blue boots | 5423 | 8,9,10,11,12

I need to take a single row and duplicate it & split it per each size as the following:
This original row:
Red Tshirt | 14828 | S,M,L

Should become this:
Red Tshirt | 14828 | S
Red Tshirt | 14828 | M
Red Tshirt | 14828 | L

(So all the other columns have the same values)

Has any 1 ever encountered something like this?

Thanks :slightly_smiling_face:
YV

1 Solution

Accepted Solutions
Raminder_Singh
7 - App Architect
7 - App Architect

Hello @Dropit_Shopping,

It is doable using a script. Where do you want to put the new rows? In the same table as the source row? Or in a new table somewhere? A little more context about your problem would help.

-Raminder

See Solution in Thread

1 Reply 1
Raminder_Singh
7 - App Architect
7 - App Architect

Hello @Dropit_Shopping,

It is doable using a script. Where do you want to put the new rows? In the same table as the source row? Or in a new table somewhere? A little more context about your problem would help.

-Raminder