Help!

setting up random number generator for lotto numbers

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Setup RSS
Next:  Making HTML the default for Reply messages in Out..  
Author Message
Random Number Generator i
External


Since: Jun 04, 2009
Posts: 1



PostPosted: Thu Jun 04, 2009 10:42 am    Post subject: setting up random number generator for lotto numbers
Archived from groups: microsoft>public>excel>setup (more info?)

How do I set up a random number generator to pick lotto and power ball numbers?
Back to top
Gary''s Student
External


Since: Oct 01, 2005
Posts: 3350



PostPosted: Fri Jun 05, 2009 5:02 pm    Post subject: RE: setting up random number generator for lotto numbers [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

All "draw-style" games can be simulated in the same way. They rely on
drawing without replacement. Say the rules for a lottery are there are 50
balls numbered 1 thru 50. Five balls are drawn at random.


In A1 thru A50, enter 1 thru 50.
In B1 thru B50, enter =RAND()

Sort cols A & B by column B. This will "shuffle" the values in column A.
Use the first 5 (A1 thru A5)

For another draw, just repeat the sort.

Change the ball numbers and number of balls drawn to match your particular
lottery.


--
Gary''s Student - gsnu200856


"Random Number Generator in Excel 2007" wrote:

> How do I set up a random number generator to pick lotto and power ball numbers?
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Setup All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum