+ Reply to Thread
Results 1 to 5 of 5

Extract random rows from a spreadsheet and paste into another

Hybrid View

  1. #1
    Registered User
    Join Date
    11-07-2012
    Location
    Sunshine Coast Australia
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    3

    Post Extract random rows from a spreadsheet and paste into another

    I am a newbie to this forum. I have used Excel for years but only using basic functions.

    I have an Excel sheet that contains over 5000 numbered rows containing names and associated data. Each day I have to randomly extract 50 names and create a separate list. At the moment I can get the numbers using randbetween, but I then have to locate each number and copy and paste the rest of the row into another sheet for printing. Is there a way I can do this automatically?

  2. #2
    Registered User
    Join Date
    10-29-2012
    Location
    hyderabad, India
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: Extract random rows from a spreadsheet and paste into another

    hi,

    which numbers do you locate to copy and paste? or, please upload a sample file, with your required output.

  3. #3
    Registered User
    Join Date
    11-07-2012
    Location
    Sunshine Coast Australia
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    3

    Smile Re: Extract random rows from a spreadsheet and paste into another

    Thanks for replying. At this stage 1 to 5008, but this number will continue to grow as new names are added.
    The output I need is colums B, C and D, but the total colums are A to H. If it is possible, the rows need to be output in two lists, the first one 21 names into Rows 5 to 25 in Colums D, E and F and the second list 24 names into Rows 28 to 51 in Colums D, E and F, a total of 45 names per day.

    A lot to ask I know but it would save heaps of time daily. I have attached a sample file.

    Thanks for your help.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-29-2012
    Location
    hyderabad, India
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: Extract random rows from a spreadsheet and paste into another

    hi,

    try this.. drag the formula to all other cells..

    Ozleopard%20Test(1).xlsx

  5. #5
    Registered User
    Join Date
    11-07-2012
    Location
    Sunshine Coast Australia
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    3

    Re: Extract random rows from a spreadsheet and paste into another

    Thank you. That part works but the output list needs to be made up of a random selection from 1 to 5008 (or more when the list is extended) from the original list.

+ 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