jag108
Active Member
- Joined
- May 14, 2002
- Messages
- 433
- Office Version
- 365
- 2016
- Platform
- Windows
- MacOS
OK, I have a list of numbers, all of which are random. I am trying to create a non-repeating list of numbers in grouips of 6.
I am trying to do this using VBA if possible.
Number list
3
6
10
13
14
16
17
18
23
25
26
27
29
30
31
32
34
38
The ideal output for me would be:
3, 6, 10, 13, 14, 16
17, 18, 23, 25, 26, 27
29, 30, 31, 32, 34, 38
6, 10, 13, 14, 16, 17
18, 23, 25, 26, 27, 29
30, 31, 32, 34, 38, 3
.....
so on and so forth
Loop through until all permutations are exhausted, with out duplicating any groups of 6.
Ultimately I would like all the possible permutations to be unique.
Thanks in advance
I am trying to do this using VBA if possible.
Number list
3
6
10
13
14
16
17
18
23
25
26
27
29
30
31
32
34
38
The ideal output for me would be:
3, 6, 10, 13, 14, 16
17, 18, 23, 25, 26, 27
29, 30, 31, 32, 34, 38
6, 10, 13, 14, 16, 17
18, 23, 25, 26, 27, 29
30, 31, 32, 34, 38, 3
.....
so on and so forth
Loop through until all permutations are exhausted, with out duplicating any groups of 6.
Ultimately I would like all the possible permutations to be unique.
Thanks in advance