+ Reply to Thread
Results 1 to 5 of 5

Random Sampling - please help

Hybrid View

  1. #1
    Registered User
    Join Date
    08-02-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    6

    Random Sampling - please help

    Hi all,

    I'm new to forum and would appreciate some help.

    Ive got a 3 column table of over 10000 rows. In a column A are names in B are tweets by the person AB in column A. What I would like to do is select a 5 random samples of a particular AB person in A and for it to display for tweet from column B. However what I am finding tricky is I want it to pick a sample from a range of only AB rows. Is that possible.

    thanks

  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: Random Sampling - please help

    Post a small sample of your data.
    Gary's Student

  3. #3
    Registered User
    Join Date
    08-02-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Random Sampling - please help

    Hi thanks for your reply. I've attached a sample of a few lines of all the data I export.I want to randomly select a reply that is listing in column Q from a pool of all the entries of of a certain name listed in column R.

    Thanks
    Attached Files Attached Files

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

    Re: Random Sampling - please help

    I have attached a sample solution. V1 contains the name of interest (in this case Michael Whitehead). Column W contains a unique marker for each of the "Whitehead" rows. X2 picks one of these markers at random. X2 uses the typical MATCH-INDEX to get the equivalent value from column Q.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-02-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Random Sampling - please help

    Brill that worked a treat - thank you!

+ 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. Random Sampling with no Replacements
    By kitty425 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-15-2013, 01:04 AM
  2. Help with random sampling, please.
    By tjroby in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2013, 01:31 PM
  3. Auto Random Sampling
    By rpanuganti in forum Excel General
    Replies: 0
    Last Post: 05-02-2013, 05:51 AM
  4. Sampling/Random Selection
    By lillianjbrown in forum Excel General
    Replies: 10
    Last Post: 07-04-2009, 06:28 AM
  5. Random Sampling
    By orangeIV in forum Excel General
    Replies: 2
    Last Post: 03-26-2007, 11:59 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