LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Max
 
Posts: n/a
Default Random Selection

One way ..
Assume you have a list of 50 numbers (or whatever items) in A1:A50
Put in C1: =RAND(), copy C1 down to C50
Put in B1: =INDEX(A:A,RANK(C1,$C$1:$C$50))
Copy B1 down to B40, to return 40 non repeating random selections
of the list in A1:A50. If you want the full 50 randomized, copy B1 down to
B50. Press F9 to re-generate
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Cris" wrote in message
...
I have a list of numbers that I need Excel to randomly pick 40 of. I can't
use the RAND function because these numbers don't increment by one all the
time. Any ideas how Excel can give me this list?

Thanks!



 
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
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
VBA "Rnd" Function: Truly Random? TheRobsterUK Excel Discussion (Misc queries) 2 September 27th 05 04:50 AM
Random Selection of items in Excel? mnpremo Excel Discussion (Misc queries) 8 September 23rd 05 08:18 AM
random selection from a range of cells tjb Excel Worksheet Functions 1 February 15th 05 06:34 PM
How can I set up the random selection of a cell from within a ran. nybbac Excel Discussion (Misc queries) 5 January 1st 05 05:39 AM


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