Combination of three lists

diarrheaplanet

New Member
Joined
Jun 26, 2016
Messages
15
Hey guys,

Another thing I'm trying to do over here:

I have three lists of data like this:

[TABLE="width: 200"]
<tbody>[TR]
[TD]Lis 1[/TD]
[TD]List 2[/TD]
[TD]List 3[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]a[/TD]
[TD]c
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]aa[/TD]
[TD]cc[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]ccc[/TD]
[TD]ccc[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Is there anyway that I could get all the possible combinations in the table in three diferent columns? Something like this:


[TABLE="width: 200"]
<tbody>[TR]
[TD]Lis 1[/TD]
[TD]List 2[/TD]
[TD]List 3[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]a[/TD]
[TD]c
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]a[/TD]
[TD]cc[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]a[/TD]
[TD]ccc[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]aa[/TD]
[TD]c[/TD]
[/TR]
</tbody>[/TABLE]

...and so forth

Any ideas or help is greatly appreciated!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
place in row 2: =INDIRECT("B"&INT((ROW()+1)/3)+1)
and in the next column: =INDIRECT("C"&ROW()-(INT((ROW()+1)/3)-1)*3)
 
Upvote 0

Forum statistics

Threads
1,226,112
Messages
6,189,039
Members
453,521
Latest member
Chris_Hed

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