Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
permutations of six digit number
Hi,
I'm hoping someone could help me. I need to generate all of the permutations of a six digit number using 0-9 where every number can be repeated and in any order. Is there any way to do that in Excel or Access? Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
permutations of six digit number
that is a million numbers.
do you really need all million at once or just a random selection from them. one way to generate them is select all the cells format-gell-number-custom 000000 in Cell A1 enter 0 in A2 enter =A1+1 select A2 copy select A2:A50000 paste Select B1 enter=A1+50000 copy select B1:T50000 paste Select A1:T50000 copy and paste special values now what do you want to do with them? "steed800" wrote: Hi, I'm hoping someone could help me. I need to generate all of the permutations of a six digit number using 0-9 where every number can be repeated and in any order. Is there any way to do that in Excel or Access? Thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
permutations of six digit number
Dont need anthing but this, there will be 1 million permutations from
000000 to 999999. steed800 wrote: Hi, I'm hoping someone could help me. I need to generate all of the permutations of a six digit number using 0-9 where every number can be repeated and in any order. Is there any way to do that in Excel or Access? Thanks |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
permutations of six digit number
thanks! that worked great.
i didn't realize that was a million numbers so i'll have to just use a sample. "bj" wrote: that is a million numbers. do you really need all million at once or just a random selection from them. one way to generate them is select all the cells format-gell-number-custom 000000 in Cell A1 enter 0 in A2 enter =A1+1 select A2 copy select A2:A50000 paste Select B1 enter=A1+50000 copy select B1:T50000 paste Select A1:T50000 copy and paste special values now what do you want to do with them? "steed800" wrote: Hi, I'm hoping someone could help me. I need to generate all of the permutations of a six digit number using 0-9 where every number can be repeated and in any order. Is there any way to do that in Excel or Access? Thanks |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
permutations of six digit number
one possibility for a sample is randbetween(0,999999)
each time it is calculated a new one will be generated I would copy it about 10 times cause a calc, copy and paste special values somewhere else. you may have duplicate numbers: "steed800" wrote: thanks! that worked great. i didn't realize that was a million numbers so i'll have to just use a sample. "bj" wrote: that is a million numbers. do you really need all million at once or just a random selection from them. one way to generate them is select all the cells format-gell-number-custom 000000 in Cell A1 enter 0 in A2 enter =A1+1 select A2 copy select A2:A50000 paste Select B1 enter=A1+50000 copy select B1:T50000 paste Select A1:T50000 copy and paste special values now what do you want to do with them? "steed800" wrote: Hi, I'm hoping someone could help me. I need to generate all of the permutations of a six digit number using 0-9 where every number can be repeated and in any order. Is there any way to do that in Excel or Access? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to validate a cell to insert from 9 digit number to 13 digit number. | Excel Worksheet Functions | |||
How to validate a cell to insert from 9 digit number to 13 digit number. | Excel Worksheet Functions | |||
Number permutations | New Users to Excel | |||
Color a single digit in a mult-digit number cell | Excel Discussion (Misc queries) | |||
When we enter a 16 digit number (credit card) the last digit chan. | Excel Discussion (Misc queries) |