+ Reply to Thread
Results 1 to 1 of 1

Autofill for roster template with request

  1. #1
    Registered User
    Join Date
    11-23-2009
    Location
    singapore
    MS-Off Ver
    Excel 2016
    Posts
    10

    Autofill for roster template with request

    Anyone have ideas on creating work roster with auto-fill (automation) duties?

    Objective:
    creating 4 week roster
    3 shifts (day, evening, night)

    Rules:
    rotating day and evening shift
    night duty is 3 night straight and ends with a day off
    per staff 2 day off per week
    30 staffs.
    morning staffs and afternoon staffs should be balance
    night always have 4 staffs

    To create:
    Each staff able to put day or evening at random for any 5 days of the whole roster (28 days).
    analyse the duty staff requests and randomly fill up to suit the above rules.


    Is it possible in excel with macro / VBA?

    My ideas:
    create a sum function"balancing staffs" row for 3 shifts (AM, PM, ND).
    create a sum function for each staff check to ensure staff taking 2 days off per week. (8 off days)
    coding to protect staff request to avoid changing
    Search / Auto find Night request and coding for auto fill night shift duty (night, night, night, day off) to empty cells.
    coding to Auto fill night column (4 days) for other staffs and coding to ensure night shift balance have 4 staffs.
    coding to Random fill morning and evening duties per staffs for all empty cells and
    coding to check balance morning and evening duties for all empty cells.
    coding to check day off per week and randomly replace day off
    Coding to Replace morning and evening to day off per week randomly
    check balance again for morning and evening duties. Loop.
    coding to check day off per week.
    Last edited by jackfood; 09-09-2017 at 04:54 AM.

+ 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. Employee shift roster template
    By AussieExcelUser in forum Excel General
    Replies: 13
    Last Post: 06-21-2019, 08:40 AM
  2. Roster Template - Rotating roster 14 week
    By ckfishe in forum Excel General
    Replies: 6
    Last Post: 04-19-2017, 06:26 AM
  3. Advanced Custom Macro for Template Request
    By ryanb4614 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-16-2015, 02:08 PM
  4. Shift roster for restaurant template
    By CooLiSH in forum Excel General
    Replies: 3
    Last Post: 06-03-2013, 04:40 PM
  5. change request template
    By kadams99 in forum Excel General
    Replies: 2
    Last Post: 09-22-2010, 01:19 PM
  6. Work Request Template
    By John C. Harris, MPA in forum Excel General
    Replies: 0
    Last Post: 07-27-2005, 11:05 AM
  7. childrens weekly chores roster template
    By shanelle in forum Excel General
    Replies: 2
    Last Post: 02-21-2005, 07:06 PM

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