box combination formula
"gjones" wrote:
Can you someone help me, what is the excel or access
formula that will give me a numeric box combination.
Can't help you with Access. This is an Excel forum ;-).
for example i select a random set of numbers 4,
5, 6, 7, 8, 44, 10, 23, 34, 56, 99. I want the result of every
possible outcome to just these numbers from front to back
in a 6 column box combination.
[....]
note that any number can repeat within a given row
Note that there are PERMUT(11,6) such combinations -- 332,640. Unless you
are using Excel 2007 or later, that exceeds the number of rows permitted in
a worksheet.
In any case, there is no simple Excel formula to accomplish this. I would
write a VBA UDF that returns an array -- or more likely, a VBA macro. If
you are content to return solutions as text, one per cell, you could fit all
of them within the limits of Excel 2003, filling column after column.
----- original message -----
"gjones" wrote in message
...
Can you someone help me, what is the excel or access formula that will
give
me a numeric box combination.for example i select a random set of numbers
4,
5, 6, 7, 8, 44, 10, 23, 34, 56, 99. I want the result of every possible
outcome to just these numbers from front to back in a 6 column box
combination.
Results
4, 5, 6, 7, 8, 44
5, 7, 44, 23, 34, 56
56, 8, 34, 99, 10, 99
note that any number can repeat within a given row
Warm Regards
GaryJones
|