+ Reply to Thread
Results 1 to 4 of 4

need to keep the two same names out of 1 column

  1. #1
    Forum Contributor
    Join Date
    09-04-2006
    Posts
    117

    need to keep the two same names out of 1 column

    I'm randomly generating names to a few columns. I'm using offset. I've got a formula, =OFFSET(Roster!F$11,MOD(E1,$G$1)+1,0) refering to g1 to count the number of people in my list that will be randomly generated. Say i've got 10 cells to produce names to, but only 5 people on my list. It will fill the empty 5 with the same names again. This is what I want it to do, but what I dont want is for the same names to be put in the same column.

    column 1

    John <------
    Jerry
    john <-----
    James

    column 2

    Jim
    Jack this column is ok
    John
    Jerry

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    The lists at Roster!A78 and Shuffle!A1 are randomly sequenced editions of your available personel. Each name supplied appears once only in the list, therefore it would be impossible to produce 'doubles' unless the original personel lists were incorrect.

    This same process should be used for the Unqualified personel at F12, random sequence them into a third list and select the names from that area. This will achieve what you ask.

    ---

    Quote Originally Posted by Don Juan
    I'm randomly generating names to a few columns. I'm using offset. I've got a formula, =OFFSET(Roster!F$11,MOD(E1,$G$1)+1,0) refering to g1 to count the number of people in my list that will be randomly generated. Say i've got 10 cells to produce names to, but only 5 people on my list. It will fill the empty 5 with the same names again. This is what I want it to do, but what I dont want is for the same names to be put in the same column.

    column 1

    John <------
    Jerry
    john <-----
    James

    column 2

    Jim
    Jack this column is ok
    John
    Jerry

  3. #3
    Forum Contributor
    Join Date
    09-04-2006
    Posts
    117
    the watch bill is doing two things it shouldn't. One, its generating double names into the watchbill even though there are more names on the roster than spaces to fill in the watchbill. Two, its putting the names in the same column under the unqual watches. I uploaded it for you to see.
    The unqual generator is on the shuffle sheet. The qual generator for roster!a11 is on the roster sheet.
    Last edited by Don Juan; 09-17-2006 at 04:35 PM.

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Don Juan
    the watch bill is doing two things it shouldn't.
    Computers do that, it's so infuriating
    One, its generating double names into the watchbill even though there are more names on the roster than spaces to fill in the watchbill.
    The idea was for the available names to be sorted into a randomly sequenced list, and from that list you allocate each cell to a cell on the watchbill. Then there can only be duplicates if you allocate the same randomly sequenced cell to more than one watchbill cell. The formula does not 'generate double' - it simply randomly sequences the list as given.
    Two, its putting the names in the same column under the unqual watches.
    same answer - the shuffle should simply randomly sequence the available names, and you allocate the cells within the shuffle list to your watchbill.
    I uploaded it for you to see.
    The unqual generator is on the shuffle sheet. The qual generator for roster!a11 is on the roster sheet.
    If you allocate the cells from the randomly sequenced list once only there should be no problem.
    ---

+ 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