+ Reply to Thread
Results 1 to 6 of 6

First time attempting a complex random generator, need guidence

  1. #1
    Registered User
    Join Date
    07-20-2017
    Location
    San Diego, CA
    MS-Off Ver
    2010
    Posts
    20

    First time attempting a complex random generator, need guidence

    I am pretty good at figuring things out, but I have never messed with a random generator before. I am just looking for a basic direction to go off of.

    What my program will be doing is that you can already enter in names and vacation times. I am about to enter options for "limited duties"(basically people who cant stand certain shifts) with check boxes associated with names.

    I am looking at 2 possibilities here, but don't want to go too far in either direction until i know the limits of a random generator. My hope is that I can do a seperate database for each shift (0600-1200 position 1 and 2, 1200-1800 position 1 and 2 and so on). each data base would populate names that were able to stand that exact position and shift time based on a userform with checkboxes. Then the random generator would grab names from each of those databases to fill it in with no duplicate names (nobody has 2 shifts)

    otherwise, I would be looking at somehow adding it all into my already existing list of people database and just add columns to the right each one with a shift and position and somehow use that to random generate based on a true/false in each cell.

    Which option is better or posible? or is there even a better way of doing this? Thank you.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: First time attempting a complex random generator, need guidence

    If some shifts are preferable to others, I would allow people to select what they want, by seniority or with rotating priority.

    People use "random" when what they usually want is a long way from random. Someone will inevitably get the swing shift three weeks in a row if you use random assignments, and explaining that it was random will not mollify them.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    07-20-2017
    Location
    San Diego, CA
    MS-Off Ver
    2010
    Posts
    20

    Re: First time attempting a complex random generator, need guidence

    so I see what you are saying, I was already looking into that as well. when I enter everything manually, I have a tracker for who has stood what watch how many times. This way I can get a proper rotation on each watch position too. I plan on attempting to implement this as well after i get a generator going.
    As far as seniority works, this is the military I am doing this for and it would be one rank WILL stand each shift as one position, then another rank will stand onother position. If there aren't enough of the higher rank people, then the lower ranks take the spots next.

    I am going to make an excel that is manually entered with an actual example of what I'm attempting to do.

  4. #4
    Registered User
    Join Date
    07-20-2017
    Location
    San Diego, CA
    MS-Off Ver
    2010
    Posts
    20

    Re: First time attempting a complex random generator, need guidence

    EXAMPLE.xlsx I don't know how attaching an excel file works on here, hopefully this works.

    This is just a manually entered document for 3 test names showing what I am attempting to do.

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,469

    Re: First time attempting a complex random generator, need guidence

    .
    One of several formulas:

    Please Login or Register  to view this content.
    After pasting in cell, press CTRL / SHIFT / ENTER all at same time to create curly-cues at beginning and end of formula.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    07-20-2017
    Location
    San Diego, CA
    MS-Off Ver
    2010
    Posts
    20

    Re: First time attempting a complex random generator, need guidence

    Thank you Logit, I can work with this a little and see how I can manage it. I like that it is random, but if person 1 can't stand a certain watch or certain time i wanted to be able to put that into the formula too.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Attempting to find a formula that allows for counting with complex criteria
    By The.Weazel in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-26-2016, 06:20 PM
  2. time delay random number generator
    By scouse13 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-01-2014, 02:08 PM
  3. Replies: 5
    Last Post: 06-21-2013, 10:40 AM
  4. random time generator
    By texas tornado in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2012, 01:33 AM
  5. VBA Random Generator
    By switm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2011, 02:22 PM
  6. Random Time Generator
    By optionistic in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-10-2011, 05:27 PM
  7. Random Time Generator
    By Wskip49 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-15-2008, 05:22 AM

Tags for this Thread

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