Hi Guys,
Ive been working on some scripts to generate a lucky number set for myself to use for Lotto.
I have a macro that i can use as well to get all permutations of the numbers but what i actually need is permutations per ball.
For ex.
I have for the ball values the following
Ball1 =(1,2,3,4,5)
Ball2 =(4,8,9,14,21,22)
Ball3 =(9,23,25,27,29)
Ball4 =(22,23,29,30,31)
Ball5 =(35,36,38,37,40)
Ball6 =(40,41,42,43,49)
Each ball is in its own column starting at A1 through to F1 being Ball 6
What I need is all the permutations of this using excel but Balls in A1(Ball1) needs to stay Ball1 and Ball2 needs to stay ball2 and so on.
a Ball number that is in A1 only can only be a ball 1 and not all columns have the same amount of rows in them either.
I think this will give me less combinations but still using the numbers I predetermined.
Thanks
Bookmarks