+ Reply to Thread
Results 1 to 4 of 4

Selecting random rows and paste it in different column.

  1. #1
    Registered User
    Join Date
    05-11-2013
    Location
    Hyderabad
    MS-Off Ver
    Excel 2007
    Posts
    21

    Selecting random rows and paste it in different column.

    Hello,

    I have a list of ID's and I wanted to select randomly 100 rows and paste it in different worksheet.

    I have attached the excel with Unique ID's.

    Could you please help me.

    Many thanks in advance.

    Regards

    Unique_ID.xlsx

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,640

    Re: Selecting random rows and paste it in different column.

    Insert a column before your IDs
    In New A2 cell (so left to first ID) write:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    double click on a fill handle (small black square in lowerright corner of the cell) to fill down cells with this formula
    In A1 write a header (let's say "DUMMY").
    select both columns and sort (available in Data card) (does not matter ascending or descending)
    take first 100 IDs - they are in random sequence and randomly selected now.
    Last edited by Kaper; 11-05-2015 at 12:53 PM.
    Best Regards,

    Kaper

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,640

    Re: Selecting random rows and paste it in different column.

    And here the method applied to your sample data
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-11-2013
    Location
    Hyderabad
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Selecting random rows and paste it in different column.

    Thank you Kaper...

+ 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. Selecting random rows based on criteria in other columns
    By Insert Name in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2015, 01:35 AM
  2. [SOLVED] selecting random cells from a column and paste to another.
    By dxblade in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2013, 09:04 AM
  3. Selecting Cells From Column at Random for a Specific Sum Total
    By anaisconce in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-02-2010, 07:39 AM
  4. selecting random rows for a sampling
    By NDMALLARD in forum Excel General
    Replies: 1
    Last Post: 01-09-2009, 07:03 PM
  5. Macro to cut and paste random rows
    By Xeno in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-28-2008, 06:51 PM
  6. Help selecting random rows of data
    By hnoshea in forum Excel General
    Replies: 2
    Last Post: 10-04-2006, 03:18 PM
  7. Selecting random rows
    By anar_baku in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-08-2006, 07:45 AM

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