Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 1
Default setting up random number generator for lotto numbers

How do I set up a random number generator to pick lotto and power ball numbers?
  #2   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 11,058
Default setting up random number generator for lotto numbers

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?

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
Random number Generator RayT New Users to Excel 14 January 15th 08 11:16 PM
random number generator johnny vino Excel Discussion (Misc queries) 8 April 25th 07 05:51 PM
random number generator Barb Excel Discussion (Misc queries) 2 September 22nd 06 11:12 PM
Random Number generator Neil M Excel Worksheet Functions 2 February 1st 06 06:00 PM
Random Number Generator STEVEB Excel Worksheet Functions 7 July 25th 05 11:41 PM


All times are GMT +1. The time now is 07:24 AM.

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

About Us

"It's about Microsoft Excel"