Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Randomlly pick number

I think you are right, we found another funtion that worked great for this
matter, under tools there is a "data analisis" button (this is install with
the analysis toolpak) there is a random number generator that help us
generate 120 posibilities randomlly picking from.

"Tom Ogilvy" wrote:

Slight correction:
randbetween comes from the analysis toolpak.

Rand is a built in function having no dependency on the analysis toolpak.

To the OP. lottery numbers are independent of any previouls draw, so there
is no advantage to you suggested approach. In fact, if you believe there is
some dependence, these would actually be the numbers to avoid (unless you
felt the number generation methos is not random - and that would be highly
unlikely).

--
Regards,
Tom Ogilvy


"Jim Thomlinson" wrote in message
...
For what you are trying to do this should work. Place a random number

=Rand()
beside each of the lottery ticket numbers. Now just sort by the random

number
column. The lotery ticket numbers will all be resorted. Just grab the top

120
and you are good to go. Note Rand() comes from the analysis toolpack which
you may need to install. If this actually picks a winning number you owe
me... :-)
--
HTH...

Jim Thomlinson


"MESTRELLA29" wrote:

We are buying lottery tikets buy the bunch, but are relying on the store

to
pick our number, and we have not been lucky.
I need a Macro that can randomlly pick 5 numbers from a list of history

to
get 120 posibilities to buy the lottery tickets without rellying on the

Store
machine.

Can someone help

Le list I have are the wining number for the past 6 months.




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
pick up particular number from a table Lowan Chan Excel Discussion (Misc queries) 0 May 27th 10 10:33 PM
pick up particular number from a table Jacob Skaria Excel Discussion (Misc queries) 0 May 27th 10 10:17 PM
Pick the 5th number out of the following number 1002300. Mojo Excel Worksheet Functions 2 October 17th 09 02:22 AM
FORMULA TO PICK NUMBER tjsmags Excel Worksheet Functions 3 November 21st 06 01:00 AM
I need to total col, but pick up number in other col. if not 0 Katie Excel Worksheet Functions 5 September 9th 06 02:06 AM


All times are GMT +1. The time now is 10:14 PM.

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"