Hi, I am unsure if this already exists but have spent days looking for what I need and cannot find it.
What I am looking for is a VBA that will provide all possible unique combinations within a range.
The range will be variable to input - in column A from 1 to 12 entries.
Lets say-
A1 - cat
A2 - dog
A3 - cow
A4 - pig
Without repetition I would like it come back with the possible combinations up to 12 entries, ideally in separate cell.
b1 cat
b2 cat c3 dog
b3 cat c3 dog d3 cow
b4 cat c4 dog d4 cow e4 pig
In this case
b2 dog and c3 cat would be the same as above and not needed as not a unique combination.
Any ideas, thanks in advance
What I am looking for is a VBA that will provide all possible unique combinations within a range.
The range will be variable to input - in column A from 1 to 12 entries.
Lets say-
A1 - cat
A2 - dog
A3 - cow
A4 - pig
Without repetition I would like it come back with the possible combinations up to 12 entries, ideally in separate cell.
b1 cat
b2 cat c3 dog
b3 cat c3 dog d3 cow
b4 cat c4 dog d4 cow e4 pig
In this case
b2 dog and c3 cat would be the same as above and not needed as not a unique combination.
Any ideas, thanks in advance