Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pick a Random name from a list.

I am working on a Free Give Away of some products. Our systems give me a
list of individuals who we have had contact which are then placed in excel.
We would like to pick a weekly winner and would prefer not to throw darts at
my screen. Any Ideas?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Pick a Random name from a list.

Maybe you could use a print-out of the list, a pair of scissors and a hat? :-)

Or maybe take a look at VBA's Rnd() function and Randomize statement? Rnd()
will give you a random floating point number [0, 1) The VBA help is even
kind enough to give you a formula to use to generate random numbers in the
range [lowerbound, upperbound]:

Int((upperbound - lowerbound + 1) * Rnd + lowerbound)

Randomize is used to ensure that the sequence is truly random.

Cheers,
/MP

"David M Fritzke" wrote:

I am working on a Free Give Away of some products. Our systems give me a
list of individuals who we have had contact which are then placed in excel.
We would like to pick a weekly winner and would prefer not to throw darts at
my screen. Any Ideas?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Pick a Random name from a list.

And by 'truly' he means 'good enough for a raffle' :)

Jeff

"Mat P:son" wrote in message
...
Maybe you could use a print-out of the list, a pair of scissors and a hat?
:-)

Or maybe take a look at VBA's Rnd() function and Randomize statement?
Rnd()
will give you a random floating point number [0, 1) The VBA help is even
kind enough to give you a formula to use to generate random numbers in the
range [lowerbound, upperbound]:

Int((upperbound - lowerbound + 1) * Rnd + lowerbound)

Randomize is used to ensure that the sequence is truly random.

Cheers,
/MP

"David M Fritzke" wrote:

I am working on a Free Give Away of some products. Our systems give me a
list of individuals who we have had contact which are then placed in
excel.
We would like to pick a weekly winner and would prefer not to throw darts
at
my screen. Any Ideas?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pick a Random name from a list.

Thanks I will give that a try!

"Mat P:son" wrote:

Maybe you could use a print-out of the list, a pair of scissors and a hat? :-)

Or maybe take a look at VBA's Rnd() function and Randomize statement? Rnd()
will give you a random floating point number [0, 1) The VBA help is even
kind enough to give you a formula to use to generate random numbers in the
range [lowerbound, upperbound]:

Int((upperbound - lowerbound + 1) * Rnd + lowerbound)

Randomize is used to ensure that the sequence is truly random.

Cheers,
/MP

"David M Fritzke" wrote:

I am working on a Free Give Away of some products. Our systems give me a
list of individuals who we have had contact which are then placed in excel.
We would like to pick a weekly winner and would prefer not to throw darts at
my screen. Any Ideas?

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 a Random name from a list. David M Fritzke Excel Discussion (Misc queries) 7 September 30th 08 05:11 PM
Random pick of a cell saman110 via OfficeKB.com Excel Discussion (Misc queries) 5 August 2nd 07 12:30 AM
Pick a Random name from a list. David M Fritzke Excel Worksheet Functions 5 August 25th 06 03:11 PM
random pick names from the list jinvictor Excel Discussion (Misc queries) 1 June 26th 06 03:00 PM
Making pick list conditional on selection from previous pick list Stewart Excel Discussion (Misc queries) 1 June 27th 05 11:30 AM


All times are GMT +1. The time now is 09:22 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"