Good day!
I am trying to create a macro that will group certain number of data into 2 groups. Each group does not necessarily need to be equal number of members. I need to get all possible groupings.
Example:
Data: A,B,C,D (4 items)
Possible groupings:
1) A and B,C,D
2) B and A,C,D
3) C and A,B,D
4) D and A,B,C
5) A,B and C,D
6) B,C and A,D
and so on...
Any idea is greatly appreciated. Thank you!