I have the following list in an excel sheet
Column A
Red
Green
Blue
White
Black
Question : I’m looking for a script of some kind that will create a permutation of all these words that’s possible without repeating. However, with minor thing the items of red and green must be included in each permutation, so for example two possibilities could. :
red + green + blue
red + green + black
We should never get an example like this: blue + white + black. This is because red + green isn’t included.
Bookmarks