+ Reply to Thread
Results 1 to 4 of 4

Random Sort

  1. #1
    Registered User
    Join Date
    11-07-2005
    Posts
    45

    Random Sort

    Hi All

    Does anybody know a way to randomly sort data.

    I am running a competition and want to randomly sort the names in column a to that i can then pick one.

    Unless anyone else knows a good way of picking a winner out of 192 names (does not have to use exel)

    Thanks

  2. #2
    George
    Guest

    Re: Random Sort

    Lets assume Column A has your names for example
    Try using =RAND() in column B
    Then sort on column B

    Note:
    The random numbers will change every time you recalculate the sheet
    So if you want to keep the original random numbers, you could copy and
    'paste special > values' over themselves
    Or you could delete column B after sorting.

    Hope it helps
    George


    koba wrote:
    > Hi All
    >
    > Does anybody know a way to randomly sort data.
    >
    > I am running a competition and want to randomly sort the names in
    > column a to that i can then pick one.
    >
    > Unless anyone else knows a good way of picking a winner out of 192
    > names (does not have to use exel)
    >
    > Thanks
    >
    >


  3. #3
    Dave Peterson
    Guest

    Re: Random Sort

    Use a helper column and put =rand() in the first cell and drag down the column.

    Then sort all the columns by this helper column.

    (names on slips of paper drawn from a hat?)

    koba wrote:
    >
    > Hi All
    >
    > Does anybody know a way to randomly sort data.
    >
    > I am running a competition and want to randomly sort the names in
    > column a to that i can then pick one.
    >
    > Unless anyone else knows a good way of picking a winner out of 192
    > names (does not have to use exel)
    >
    > Thanks
    >
    > --
    > koba
    > ------------------------------------------------------------------------
    > koba's Profile: http://www.excelforum.com/member.php...o&userid=28639
    > View this thread: http://www.excelforum.com/showthread...hreadid=522911


    --

    Dave Peterson

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,739
    Well, you could write all the names on pieces of paper and put them in a hat....

    But seriously....if you have your names in A1:A192 and want to pick one at random use this formula

    =INDEX(A1:A192,RAND()*ROWS(A1:A192)+1)

+ 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