If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > random subset

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-07-07, 19:07
get.mos get.mos is offline
Registered User
 
Join Date: Jun 2005
Location: Flotsam & Jetsam
Posts: 40
random subset

greetings:

i have an excel spreadsheet that has > 1000 rows (records). i'd like to randomly select 78 of these rows and place them in another worksheet w/in this file.

any suggestions?
__________________
Mos
Reply With Quote
  #2 (permalink)  
Old 06-07-07, 19:13
get.mos get.mos is offline
Registered User
 
Join Date: Jun 2005
Location: Flotsam & Jetsam
Posts: 40
ok, i've gotten a little further, but...

i went to Tools > Data Analysis > Sampling, and i can get 78 random records, selecting the column "id," when is a number field. but the accompanying columns that are text are not coming along with it. any thoughts here?
__________________
Mos
Reply With Quote
  #3 (permalink)  
Old 06-07-07, 20:34
get.mos get.mos is offline
Registered User
 
Join Date: Jun 2005
Location: Flotsam & Jetsam
Posts: 40
got a little further. am able to do it w/the rand() function and an advanced filter. but, can get, say 10% of records. i want a specific number of records. any thoughts?
__________________
Mos
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On