excelNewbie22
Well-known Member
- Joined
- Aug 4, 2021
- Messages
- 528
- Office Version
- 365
- Platform
- Windows
hi!
how can I generate all combinations (120) of string of 5 numbers separated by hyphen in a2 but only below it,
and also push the next string in a3 (and a4 and a5 and etc) to cell a121
and again, generate all combinations of a121 below it and push the next strings in a122 (and a123 and etc) to a240 and so on...
to this
how can I generate all combinations (120) of string of 5 numbers separated by hyphen in a2 but only below it,
and also push the next string in a3 (and a4 and a5 and etc) to cell a121
and again, generate all combinations of a121 below it and push the next strings in a122 (and a123 and etc) to a240 and so on...
test.xlsm | |||
---|---|---|---|
A | |||
1 | original combination | ||
2 | 2-11-4-29-3 | ||
3 | 5-5-20-21-25 | ||
4 | 8-8-20-25-30 | ||
5 | 1-4-1-21-2 | ||
6 | 5-11-14-22-3 | ||
test |
to this
test.xlsm | |||
---|---|---|---|
A | |||
1 | original combination | ||
2 | 2-11-4-29-3 | ||
3 | 2-3-4-11-29 | ||
4 | 2-3-4-29-11 | ||
5 | 2-3-11-29-4 | ||
6 | and etc | ||
7 | and etc | ||
8 | 5-5-20-21-25 | ||
9 | 8-8-20-25-30 | ||
10 | 1-4-1-21-2 | ||
11 | 5-11-14-22-3 | ||
test |