+ Reply to Thread
Results 1 to 6 of 6

I have a column full of names and need to randomly pick 300 of them.

  1. #1
    Registered User
    Join Date
    09-17-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2003
    Posts
    21

    I have a column full of names and need to randomly pick 300 of them.

    I want to randomly pick 300 names out from column A, column A has about 3000 names. How do i accomplish this?
    Last edited by JoseK70; 09-22-2011 at 09:56 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: I have a column full of names and need to randomly pick 300 of them.

    Hi,

    One way. Use a helper column B and enter the formula =RAND() in all 3000 rows. Copy the whole 3000 row range and paste it back as values. Then sort columns A&B using column B as the sort key.

    Use the first A1:A300 as your random selection.

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    08-18-2011
    Location
    Denver Colorado
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: I have a column full of names and need to randomly pick 300 of them.

    Or you could try this as a macro.

    Please Login or Register  to view this content.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,717

    Re: I have a column full of names and need to randomly pick 300 of them.

    Quote Originally Posted by Richard Buttrey View Post
    One way. Use a helper column B and enter the formula =RAND() in all 3000 rows. Copy the whole 3000 row range and paste it back as values. Then sort columns A&B using column B as the sort key.
    Why paste as values, Richard, is that part strictly necessary?
    Audere est facere

  5. #5
    Registered User
    Join Date
    09-17-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: I have a column full of names and need to randomly pick 300 of them.

    Thanks for the help

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: I have a column full of names and need to randomly pick 300 of them.

    Hi,

    No I agree it's probably not necessary. I was perhaps wrongly assuming that this would be a one off exercise and was preventing a subsequent sort destroying the original random selection.

    Regards

+ 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