Pestomania
Active Member
- Joined
- May 30, 2018
- Messages
- 332
- Office Version
- 365
- Platform
- Windows
Hello, I have 6 columns worth of data (random numbers). How can I get every combination of possibilities? The numbers can be duplicated but once all combinations have been determined, go to next number. I'll out an example.
[TABLE="width: 500"]
<tbody>[TR]
[TD]1[/TD]
[TD]23[/TD]
[TD]32[/TD]
[TD]49[/TD]
[TD]53[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]50[/TD]
[TD]54[/TD]
[TD]20[/TD]
[TD]29[/TD]
[TD]64[/TD]
[/TR]
</tbody>[/TABLE]
So possible combinations are 1, 23, 32, 49, 53, 12 & 1, 50, 54, 20, 29, 64 & 2, 23, 54, 49, 29, 64.
But I need all combinations of these numbers.
I actually have about 30 rows for each column.
Thank you!
[TABLE="width: 500"]
<tbody>[TR]
[TD]1[/TD]
[TD]23[/TD]
[TD]32[/TD]
[TD]49[/TD]
[TD]53[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]50[/TD]
[TD]54[/TD]
[TD]20[/TD]
[TD]29[/TD]
[TD]64[/TD]
[/TR]
</tbody>[/TABLE]
So possible combinations are 1, 23, 32, 49, 53, 12 & 1, 50, 54, 20, 29, 64 & 2, 23, 54, 49, 29, 64.
But I need all combinations of these numbers.
I actually have about 30 rows for each column.
Thank you!