Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Randomize from a list

I am trying to create a random mix. The idea is to create as many unique six
digit combinations from a field of fifteen numbers as possible. I looked at
Rand and some other formulas and they just don't quite get it done. Thanks.
-- Phil
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Randomize from a list

Don't quite follow.

What 15 numbers?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"PEGWINN" wrote in message
...
I am trying to create a random mix. The idea is to create as many unique

six
digit combinations from a field of fifteen numbers as possible. I looked

at
Rand and some other formulas and they just don't quite get it done.

Thanks.
-- Phil


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Randomize from a list

I have a list of fifteen numbers in a row A1:A15 (using Excell 03)

I want to populate a "table"from those fifteen numbers in groups of six
until all possible combinations are created.

Out put would look something like this:

1 2 3 4 5 6
1 3 4 5 6 7

etc

HTH-- Thanks -- Phil



"Ragdyer" wrote:

Don't quite follow.

What 15 numbers?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"PEGWINN" wrote in message
...
I am trying to create a random mix. The idea is to create as many unique

six
digit combinations from a field of fifteen numbers as possible. I looked

at
Rand and some other formulas and they just don't quite get it done.

Thanks.
-- Phil



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Randomize from a list

AGAIN ... What 15 numbers?

I only know of 10 digits, 0 to 9.
If you're referring to double or triple digits, how does that compute to a
*6 digit* number?
Or, are you not referring to a 6 *digit* number, but to 6 numbers of *any*
number of digits, as in a combination to a safe?

Need a better description for this old brain to start working.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"PEGWINN" wrote in message
...
I have a list of fifteen numbers in a row A1:A15 (using Excell 03)

I want to populate a "table"from those fifteen numbers in groups of six
until all possible combinations are created.

Out put would look something like this:

1 2 3 4 5 6
1 3 4 5 6 7

etc

HTH-- Thanks -- Phil



"Ragdyer" wrote:

Don't quite follow.

What 15 numbers?
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"PEGWINN" wrote in message
...
I am trying to create a random mix. The idea is to create as many

unique
six
digit combinations from a field of fifteen numbers as possible. I

looked
at
Rand and some other formulas and they just don't quite get it done.

Thanks.
-- Phil




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Randomize from a list

I'm sorry.

I am building a spreadsheet using excel03 to consolidate my lottery club
systems into one all inclusive workbook.

One of the systems (which will be its' own sheet) is to select 15 numbers at
random from 1-54.

Then take those fifteen numbers and arrange them in combinations of six to
buy the tickets from. I can do it by hand (and do) but it is very time
consuming. So, I thought to automate it.

Thanks for your patience -- Phil


"Ragdyer" wrote:

AGAIN ... What 15 numbers?

I only know of 10 digits, 0 to 9.
If you're referring to double or triple digits, how does that compute to a
*6 digit* number?
Or, are you not referring to a 6 *digit* number, but to 6 numbers of *any*
number of digits, as in a combination to a safe?

Need a better description for this old brain to start working.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"PEGWINN" wrote in message
...
I have a list of fifteen numbers in a row A1:A15 (using Excell 03)

I want to populate a "table"from those fifteen numbers in groups of six
until all possible combinations are created.

Out put would look something like this:

1 2 3 4 5 6
1 3 4 5 6 7

etc

HTH-- Thanks -- Phil



"Ragdyer" wrote:

Don't quite follow.

What 15 numbers?
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"PEGWINN" wrote in message
...
I am trying to create a random mix. The idea is to create as many

unique
six
digit combinations from a field of fifteen numbers as possible. I

looked
at
Rand and some other formulas and they just don't quite get it done.
Thanks.
-- Phil






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Randomize from a list

checkout:
http://groups.google.com/group/micro...5d39b7d85d38cd
--
Gary''s Student - gsnu200745


"PEGWINN" wrote:

I'm sorry.

I am building a spreadsheet using excel03 to consolidate my lottery club
systems into one all inclusive workbook.

One of the systems (which will be its' own sheet) is to select 15 numbers at
random from 1-54.

Then take those fifteen numbers and arrange them in combinations of six to
buy the tickets from. I can do it by hand (and do) but it is very time
consuming. So, I thought to automate it.

Thanks for your patience -- Phil


"Ragdyer" wrote:

AGAIN ... What 15 numbers?

I only know of 10 digits, 0 to 9.
If you're referring to double or triple digits, how does that compute to a
*6 digit* number?
Or, are you not referring to a 6 *digit* number, but to 6 numbers of *any*
number of digits, as in a combination to a safe?

Need a better description for this old brain to start working.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"PEGWINN" wrote in message
...
I have a list of fifteen numbers in a row A1:A15 (using Excell 03)

I want to populate a "table"from those fifteen numbers in groups of six
until all possible combinations are created.

Out put would look something like this:

1 2 3 4 5 6
1 3 4 5 6 7

etc

HTH-- Thanks -- Phil



"Ragdyer" wrote:

Don't quite follow.

What 15 numbers?
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"PEGWINN" wrote in message
...
I am trying to create a random mix. The idea is to create as many

unique
six
digit combinations from a field of fifteen numbers as possible. I

looked
at
Rand and some other formulas and they just don't quite get it done.
Thanks.
-- Phil




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Randomize from a list

Try Google, using
"lottery permutations"
as the subject.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"PEGWINN" wrote in message
...
I'm sorry.

I am building a spreadsheet using excel03 to consolidate my lottery club
systems into one all inclusive workbook.

One of the systems (which will be its' own sheet) is to select 15 numbers

at
random from 1-54.

Then take those fifteen numbers and arrange them in combinations of six to
buy the tickets from. I can do it by hand (and do) but it is very time
consuming. So, I thought to automate it.

Thanks for your patience -- Phil


"Ragdyer" wrote:

AGAIN ... What 15 numbers?

I only know of 10 digits, 0 to 9.
If you're referring to double or triple digits, how does that compute to

a
*6 digit* number?
Or, are you not referring to a 6 *digit* number, but to 6 numbers of

*any*
number of digits, as in a combination to a safe?

Need a better description for this old brain to start working.
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"PEGWINN" wrote in message
...
I have a list of fifteen numbers in a row A1:A15 (using Excell 03)

I want to populate a "table"from those fifteen numbers in groups of

six
until all possible combinations are created.

Out put would look something like this:

1 2 3 4 5 6
1 3 4 5 6 7

etc

HTH-- Thanks -- Phil



"Ragdyer" wrote:

Don't quite follow.

What 15 numbers?
--
Regards,

RD



--------------------------------------------------------------------------
-
Please keep all correspondence within the NewsGroup, so all may

benefit
!


--------------------------------------------------------------------------
-
"PEGWINN" wrote in message
...
I am trying to create a random mix. The idea is to create as many

unique
six
digit combinations from a field of fifteen numbers as possible. I

looked
at
Rand and some other formulas and they just don't quite get it

done.
Thanks.
-- Phil





  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Randomize from a list

Thanks RD and Gary's Student. I already did the google. I am not a math whiz
so most of it was over my head. I'm sure there is a way, but I am so rusty at
VBA that I will have to practice a bit.

Thanks again -- Phil

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Randomize from a list

See this:

http://tinyurl.com/6okbp

--
Biff
Microsoft Excel MVP


"PEGWINN" wrote in message
...
Thanks RD and Gary's Student. I already did the google. I am not a math
whiz
so most of it was over my head. I'm sure there is a way, but I am so rusty
at
VBA that I will have to practice a bit.

Thanks again -- Phil



  #10   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Randomize from a list

.. to select 15 numbers at random from 1-54.

a. To randomize the 15 numbers from 1-54,
you could try this quick setup in a new sheet:

List the numbers 1-54 in A1:A54

Put in B1: =RAND()
Copy down to B54

Put in C1: =INDEX(A:A,RANK(B1,B$1:B$54))
Copy down to C15. C1:C15 will return 15 random numbers from the set within
A1:A54. Press F9 to regenerate afresh.

If you want a full random scramble of the 54 numbers,
just copy C1 down all the way to C54.

.. Then take those fifteen numbers
and arrange them in combinations of six ...


b. To generate all possible combinations of sets of 6 from the 15 ..

Take away this ready-to-run sample from my archives
which contains an implementation of Myrna Larson's power subroutine:

http://savefile.com/files/518493
MyrnaLarson_Combination_Permutation.xls

For your posted needs,
ie Picking sets of 6 from 15 ..

In Sheet1,

Enter in A2: 6 (that's the pick you want)
then enter the 15 random numbers into A3:A17
[or just copy n paste special as values (or link)
the randomized 15 from C1:C15 in part (a) above into A3:A17]

Then *select* cell A1 (leave the letter in A1 as "C")
and click the button: ListPermutations

All 5,005 combinations [as COMBIN(15,6) = 5005]
will be generated in a new sheet to the left of Sheet1

Good luck <g!
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 193
Default Randomize from a list

I believe the function Rand will only generate values between 0 and 1.
Randbetween will give you random numbers from 0 to whatever. I couldn't get
your example to work. I will try randbetween with some other combinations.

"Max" wrote:

.. to select 15 numbers at random from 1-54.


a. To randomize the 15 numbers from 1-54,
you could try this quick setup in a new sheet:

List the numbers 1-54 in A1:A54

Put in B1: =RAND()
Copy down to B54

Put in C1: =INDEX(A:A,RANK(B1,B$1:B$54))
Copy down to C15. C1:C15 will return 15 random numbers from the set within
A1:A54. Press F9 to regenerate afresh.

If you want a full random scramble of the 54 numbers,
just copy C1 down all the way to C54.

.. Then take those fifteen numbers
and arrange them in combinations of six ...


b. To generate all possible combinations of sets of 6 from the 15 ..

Take away this ready-to-run sample from my archives
which contains an implementation of Myrna Larson's power subroutine:

http://savefile.com/files/518493
MyrnaLarson_Combination_Permutation.xls

For your posted needs,
ie Picking sets of 6 from 15 ..

In Sheet1,

Enter in A2: 6 (that's the pick you want)
then enter the 15 random numbers into A3:A17
[or just copy n paste special as values (or link)
the randomized 15 from C1:C15 in part (a) above into A3:A17]

Then *select* cell A1 (leave the letter in A1 as "C")
and click the button: ListPermutations

All 5,005 combinations [as COMBIN(15,6) = 5005]
will be generated in a new sheet to the left of Sheet1

Good luck <g!
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Randomize from a list

In what way didn't the suggestion work? [... and don't you think that
someone would have spotted a problem some time between last September and
now?]
What results did you get in column C? Have you read again the suggestion
made, and checked what you did differently? Did you try to retype the
formulae rather than copying them from the group to your spreadsheet? Why
is it a problem that RAND() returns values between 0 and 1? What is to stop
us ranking those and using them to index into the range of numbers as in the
formula quoted?
--
David Biddulph

"Confused" wrote in message
...
I believe the function Rand will only generate values between 0 and 1.
Randbetween will give you random numbers from 0 to whatever. I couldn't
get
your example to work. I will try randbetween with some other combinations.

"Max" wrote:

.. to select 15 numbers at random from 1-54.


a. To randomize the 15 numbers from 1-54,
you could try this quick setup in a new sheet:

List the numbers 1-54 in A1:A54

Put in B1: =RAND()
Copy down to B54

Put in C1: =INDEX(A:A,RANK(B1,B$1:B$54))
Copy down to C15. C1:C15 will return 15 random numbers from the set
within
A1:A54. Press F9 to regenerate afresh.

If you want a full random scramble of the 54 numbers,
just copy C1 down all the way to C54.

.. Then take those fifteen numbers
and arrange them in combinations of six ...


b. To generate all possible combinations of sets of 6 from the 15 ..

Take away this ready-to-run sample from my archives
which contains an implementation of Myrna Larson's power subroutine:

http://savefile.com/files/518493
MyrnaLarson_Combination_Permutation.xls

For your posted needs,
ie Picking sets of 6 from 15 ..

In Sheet1,

Enter in A2: 6 (that's the pick you want)
then enter the 15 random numbers into A3:A17
[or just copy n paste special as values (or link)
the randomized 15 from C1:C15 in part (a) above into A3:A17]

Then *select* cell A1 (leave the letter in A1 as "C")
and click the button: ListPermutations

All 5,005 combinations [as COMBIN(15,6) = 5005]
will be generated in a new sheet to the left of Sheet1

Good luck <g!
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---



  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default Randomize from a list

i hav two worksheets in a workbook.sheet3 s the database..which s fr the
admins referal(not viewable by others).which contains the ID and password of
the employees.sheet1 looks lik the gn below:

ID NO. REMARKS SIGNATURE VERIFY

the employee types his respective password in the signature col of
sheet1.using =exact() fn. it cross checks if password s true fr the gn id.if
password-=true,verify=true.else false.

now the problem i am facing s dat..i am not able to enter the ID.s in any
random order in sheet1..and cross check the respective passwords...
So wat i need the sheet to look like is:

ID NO. REMARKS SIGNATURE VERIFY
1 good abc true
4
2
7
n so on....

can somone plz help me out of dis prob...
thanx fr ur help
nancy.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I randomize a list of names in excel? kseyedoc Excel Discussion (Misc queries) 1 July 12th 07 10:39 PM
Randomize list of integers beteen 1-x with no repeats JB Excel Discussion (Misc queries) 5 April 22nd 07 06:42 AM
How do I randomize a list of 20 people? Ken P Excel Discussion (Misc queries) 2 August 8th 06 10:36 PM
Need ideas to randomize list monthly? Julius Charts and Charting in Excel 1 January 11th 06 03:21 AM
How do I randomize a list without repeats K9CE Excel Discussion (Misc queries) 2 October 13th 05 07:01 PM


All times are GMT +1. The time now is 04:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"