Creating row based on list of values

Krevis

New Member
Joined
Aug 3, 2016
Messages
5
I have a list of options
[TABLE="width: 500"]
<tbody>[TR]
[TD]productA[/TD]
[TD]color[/TD]
[TD]red[/TD]
[/TR]
[TR]
[TD]productA[/TD]
[TD]color[/TD]
[TD]white[/TD]
[/TR]
[TR]
[TD]productA[/TD]
[TD]size[/TD]
[TD]s[/TD]
[/TR]
[TR]
[TD]productA[/TD]
[TD]size[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD]productA[/TD]
[TD]size[/TD]
[TD]l[/TD]
[/TR]
[TR]
[TD]productA[/TD]
[TD]color[/TD]
[TD]blue[/TD]
[/TR]
[TR]
[TD]productA[/TD]
[TD]color[/TD]
[TD]white[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
is there a way to use these existing date to populate/create a row in such way that it would be
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]red[/TD]
[TD]s[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]red[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]red[/TD]
[TD]l[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]white[/TD]
[TD]s[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]white[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]white[/TD]
[TD]l[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]blue[/TD]
[TD]s[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]blue[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]blue[/TD]
[TD]l[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]white[/TD]
[TD]s[/TD]
[/TR]
</tbody>[/TABLE]

I'm vaguely familiar with using Cartesian join through query however that would be multiplying list of product by set options resulting in productA,B of red(sml) white(sml)

****** id="cke_pastebin" style="position: absolute; top: 294px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">[TABLE="width: 500"]
<tbody>[TR]
[TD]s[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]l[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]white[/TD]
[TD]s[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]l[/TD]
[/TR]
</tbody>[/TABLE]
</body>
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,225,739
Messages
6,186,743
Members
453,370
Latest member
juliewar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top