+ Reply to Thread
Results 1 to 3 of 3

Trying to generate a simple random sample from a uniform set of numbers

  1. #1
    Registered User
    Join Date
    01-31-2013
    Location
    baltimore, maryland
    MS-Off Ver
    Excel 2007
    Posts
    16

    Trying to generate a simple random sample from a uniform set of numbers

    I have generated a set of numbers using the uniform function of the random number generator with a seed of 1325 and I am trying to figure out how to select a simple random sample of 7 of the 21 files I have, any help would be appreciated

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Trying to generate a simple random sample from a uniform set of numbers

    List the files in column A from A1 thru A21.
    In B1 thru B21 enter =RAND()
    In C1 thru C7 enter:
    =INDEX($A$1:$A$21,MATCH(LARGE($B$1:$B$21,ROW()),$B$1:$B$21,0))
    Gary's Student

  3. #3
    Registered User
    Join Date
    01-31-2013
    Location
    baltimore, maryland
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Trying to generate a simple random sample from a uniform set of numbers

    thanks a ton!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1