I want a formula to work out every 9-digit number, that uses only the values 1,2,3 and 4.
(I don't mind having the numbers in separate cells)
Like this:
1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 2
1 1 1 1 1 1 1 1 3
1 1 1 1 1 1 1 1 4
1 1 1 1 1 1 1 2 1
1 1 1 1 1 1 1 2 2
1 1 1 1 1 1 1 2 3
1 1 1 1 1 1 1 2 4
1 1 1 1 1 1 1 3 1
1 1 1 1 1 1 1 3 2
1 1 1 1 1 1 1 3 3
1 1 1 1 1 1 1 3 4
1 1 1 1 1 1 1 4 1
1 1 1 1 1 1 1 4 2
1 1 1 1 1 1 1 4 3
1 1 1 1 1 1 1 4 4
1 1 1 1 1 1 2 1 1
1 1 1 1 1 1 2 1 2
1 1 1 1 1 1 2 1 3
1 1 1 1 1 1 2 1 4
1 1 1 1 1 1 2 2 1
1 1 1 1 1 1 2 2 2
1 1 1 1 1 1 2 2 3
1 1 1 1 1 1 2 2 4
1 1 1 1 1 1 2 3 1
1 1 1 1 1 1 2 3 2
1 1 1 1 1 1 2 3 3
1 1 1 1 1 1 2 3 4
1 1 1 1 1 1 2 4 1
1 1 1 1 1 1 2 4 2
1 1 1 1 1 1 2 4 3
1 1 1 1 1 1 2 4 4
....
....
I can do the first column with a formula - see here: http://www.editgrid.com/user/adamhman/Combinations
I would like to be able to do the other columns in a similar way.
Any help would be appreciated!
(I don't mind having the numbers in separate cells)
Like this:
1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 2
1 1 1 1 1 1 1 1 3
1 1 1 1 1 1 1 1 4
1 1 1 1 1 1 1 2 1
1 1 1 1 1 1 1 2 2
1 1 1 1 1 1 1 2 3
1 1 1 1 1 1 1 2 4
1 1 1 1 1 1 1 3 1
1 1 1 1 1 1 1 3 2
1 1 1 1 1 1 1 3 3
1 1 1 1 1 1 1 3 4
1 1 1 1 1 1 1 4 1
1 1 1 1 1 1 1 4 2
1 1 1 1 1 1 1 4 3
1 1 1 1 1 1 1 4 4
1 1 1 1 1 1 2 1 1
1 1 1 1 1 1 2 1 2
1 1 1 1 1 1 2 1 3
1 1 1 1 1 1 2 1 4
1 1 1 1 1 1 2 2 1
1 1 1 1 1 1 2 2 2
1 1 1 1 1 1 2 2 3
1 1 1 1 1 1 2 2 4
1 1 1 1 1 1 2 3 1
1 1 1 1 1 1 2 3 2
1 1 1 1 1 1 2 3 3
1 1 1 1 1 1 2 3 4
1 1 1 1 1 1 2 4 1
1 1 1 1 1 1 2 4 2
1 1 1 1 1 1 2 4 3
1 1 1 1 1 1 2 4 4
....
....
I can do the first column with a formula - see here: http://www.editgrid.com/user/adamhman/Combinations
I would like to be able to do the other columns in a similar way.
Any help would be appreciated!