Quantcast
Viewing all articles
Browse latest Browse all 50158

[SOLVED] listing all the combinations

I have 5 variables A, B, C, D and E. Each of these 5 variables can have values 1, 2, 3 or 4.

Some sample outputs that I am looking to get is as shown below:


A B C D E
1 2 3 4 1
1 1 1 2 2

I am not able to get all the combinations listed automatically in excel.

I know that the combin function will give me a total number of combinations possible.. BUt I am looking to list all of the different combinations..

Please help.

Thanks in advance.

Regards
Laxman

Viewing all articles
Browse latest Browse all 50158

Trending Articles