Results 1 to 4 of 4
  1. #1
    rodeo
    Guest

    random lists (excel2000)

    How do I generate a random list of names from a spreadsheet? eg- every 4th or 8th entry?

  2. #2
    4 Star Lounger
    Join Date
    Dec 2000
    Location
    Quakertown, PA, Pennsylvania, USA
    Posts
    517
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: random lists (excel2000)

    In a column next to the names, you can insert the following formula:

    =rand()

    copy it down next to all the names. Select all of the "random" value cells, hit copy. Hit Edit-Paste special and choose values. Sort by the random value column, and pick the top XX names. They should be random.

  3. #3
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Kortrijk, Belgium
    Posts
    571
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: random lists (excel2000)

    To sample a random or periodic list from a range of names, you can use the 'Sampling' macro of the Analysis Toolpak (via Tools >> Data Analysis >> Sampling). If 'Data Analysis' is not available, you should install the Analysis Toolpak using Tools >> Add-ins and check the box next to Analysis Toolpak. Be careful, you might find out that the same name occurs in the random sample. This is a bug in the Sampling macro of the Analysis Toolpak. If I remember well, there must be a thread somewhere where Legare posted a macro to randomly select a sample from a population, without replacement.

  4. #4
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: random lists (excel2000)

    Well, every 4th or 8th entry is definitely not random. Are you looking for a random list, or a list extracted in a pattern?

    Take a look at <A target="_blank" HREF=http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Cat=&Board=xl&Number=54084&page=&v iew=&sb=&o=&vc=1#Post54084>This Thread</A>, it might give you an idea on how to get started.
    Legare Coleman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •