Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Selecting random names from lists

I am wondering if there is a formula I could use to randomly select names out
of a six different lists and put them into separate columns in the same
spreadsheet or another spreadsheet.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Selecting random names from lists

I'm not sure on your actual specs, but this easy random scramble set-up
should give a fairly good idea of how you can go about it.

Let's say you have 3 source lists of names within A1:A5, B1:B5 and C1:C5
Put in D1: =RAND()
Copy D1 across by 3 cols to F1, fill down to F5. This sets up the
"randomizing engine" for the 3 source lists.

Then place in G1: =INDEX(A$1:A$5,RANK(D1,D$1:D$5))
Copy G1 across by 3 cols to I1, fill down to I5. What you'll get is a random
scramble of the 3 source lists in cols A to C, in the corresponding cols G to
I. Pressing F9 will re-scramble the whole lot of results in cols G to I. Just
read-off the number of randomized names as may be desired from each list in
cols G to I. Adapt to suit.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Jim" wrote:
I am wondering if there is a formula I could use to randomly select names out
of a six different lists and put them into separate columns in the same
spreadsheet or another spreadsheet.

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
the formula for random selecting Inquiring mind Excel Discussion (Misc queries) 2 March 19th 09 02:33 PM
Selecting Random Data myssieh Excel Worksheet Functions 5 February 13th 08 05:09 PM
Selecting Random Data Willie Excel Worksheet Functions 2 August 18th 05 06:26 PM
Selecting ALL names when using Insert/Names/Apply Mike Excel Worksheet Functions 3 April 23rd 05 05:20 PM
Selecting at random with weighted probability Damage Excel Worksheet Functions 2 January 31st 05 11:06 PM


All times are GMT +1. The time now is 01:47 PM.

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"