#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Random Sample

I have a list of data in excel. Is there anyway that excel can pick a randam
sample of say 20 entries?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Random Sample

Say the data is in column A from A1 thru A1000.
In B1 thru B1000 enter:
=RAND()

Sort cols A&B by B. This will "shuffle" the items in column A.

Just pick the top 20 items in col A.
Re-sort to get another sample.
--
Gary''s Student - gsnu200805


"Funkyfido" wrote:

I have a list of data in excel. Is there anyway that excel can pick a randam
sample of say 20 entries?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Random Sample

Hi,

Say your data are in colimn A put this in b1 and double click the fill
handle to make it fill down:-

=Rand()

Now select Columns A & B and sort on column B. The top 20 elements in column
A are randomely selected from the list. Tap F9 and re-sort for another 20.

Mike

"Funkyfido" wrote:

I have a list of data in excel. Is there anyway that excel can pick a randam
sample of say 20 entries?

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
How do I make a random sample? Confused student Excel Discussion (Misc queries) 4 April 25th 08 04:12 PM
Select a random sample IPMS Excel Discussion (Misc queries) 2 January 7th 07 02:54 AM
random sample skimpw Excel Worksheet Functions 0 August 15th 06 01:15 AM
Random Sample Without Duplication beccadawn0622 Excel Discussion (Misc queries) 3 January 25th 06 02:13 PM
How do I create a random sample from a list? swrath Excel Worksheet Functions 1 December 23rd 05 03:32 PM


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