Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
i have a database of name addresses, phone numbers, etc, used to create mail
labels for a newsletter. i would like to randomly select a name each week from this database to give away a prize. i would like to ensure there is no duplication of names selected. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
use this excel formula:
=INT(RAND()*<number of records in database)+1 it will return a random number between 1 and the number of records in the database, use that number to select a row or record. "ed wine" wrote: i have a database of name addresses, phone numbers, etc, used to create mail labels for a newsletter. i would like to randomly select a name each week from this database to give away a prize. i would like to ensure there is no duplication of names selected. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Excel does not use seeded random numbers, so, you can use the following formula
=int(rand()*100)+1 replace 100 with the number of rows in your list -- http://HelpExcel.com 1-888-INGENIO 1-888-464-3646 x0197758 "ed wine" wrote: i have a database of name addresses, phone numbers, etc, used to create mail labels for a newsletter. i would like to randomly select a name each week from this database to give away a prize. i would like to ensure there is no duplication of names selected. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Started out as an Access problem. Now an Excel problem | Excel Discussion (Misc queries) | |||
Import records from Access to Excel | Excel Discussion (Misc queries) | |||
Using Excel spreadsheet as input to Access | Excel Discussion (Misc queries) | |||
Using Access database to "populate" Excel Sheets | Excel Discussion (Misc queries) | |||
Cells User Select Locked after upgrade to Excel 2002 | Excel Discussion (Misc queries) |