LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default random sampling TEXT

Hi,

Withe your names and ID No's in columns A & B put the formula

=Rand() in C1 and drag down to C24
Select all the columns of data and then
data|Sort
Sort on column C and the top 5 will be randomely chosen
Tap F9 and sort again for a different set.

Mike

"Mike" wrote:

Hi

Let's say if there are 24 peoples with their IDs as following:

1 A
2 B
3 c
4 d
5 e
6 f
7 g
8 h
9 i
10 j
11 k
12 l
13 m
14 n
15 o
16 p
17 q
18 r
19 s
20 t
21 u
22 v
23 w
24 x

If I want to randomly sample 5 people with their IDs and names,
how do I do it?
I've tested it. I can have five random IDs, but cannot have their
corresponding names.

thank you in advance.

Mike

 
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
random sampling staciern Excel Discussion (Misc queries) 5 May 25th 10 04:29 PM
Random Sampling Deb Excel Discussion (Misc queries) 0 June 24th 09 06:33 PM
Random Sampling - Please Help! Lee Mathew Excel Worksheet Functions 2 July 15th 08 11:45 PM
Formula numbers and text Trying to pull a random sampling Not the expert Excel Worksheet Functions 1 December 7th 07 04:01 PM
Random Sampling Pandorah Excel Discussion (Misc queries) 7 June 30th 07 07:44 AM


All times are GMT +1. The time now is 02:07 AM.

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"