+ Reply to Thread
Results 1 to 2 of 2

Transfer random selected sample values to another column

  1. #1
    Registered User
    Join Date
    11-06-2014
    Location
    Melbourne
    MS-Off Ver
    2013
    Posts
    1

    Transfer random selected sample values to another column

    I have data for 2000 vaules, I have assigned them random numbers and have to randomly generated 3 numbers between 40 and 100 and use the random number generated to make random sample sizes, I have randomly selected 3 number between 40 and 100, 55,58,64 (Random sample sizes) and give the first sample 55 values between 1 and 2000, second sample 58 values between 1 and 2000 and third sample 64 values between 1 and 2000, how do I select the first sample values from the data set without going to each random number and recording the value and so on?????? Please help as I am crying on the inside

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Transfer random selected sample values to another column

    If you put the data and a column of random numbers side by side, sort on the random number column, and pick as many items as you want off the top.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Transfer of Values based on Selected Month
    By Weathertuck in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2014, 11:54 AM
  2. Random Sample of Dates then Average Values
    By Hume in forum Excel General
    Replies: 0
    Last Post: 09-11-2010, 05:41 AM
  3. Random Sample
    By Saarang84 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-18-2009, 07:31 PM
  4. random sample
    By skimpw in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-14-2006, 08:15 PM
  5. [SOLVED] How to transfer selected cells' values into an array in VBA?
    By Julian in forum Excel General
    Replies: 6
    Last Post: 06-08-2006, 10:40 PM

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