Вы находитесь на странице: 1из 2

Concept Custom Schedule Creator

Technical Requirements
Must work with Excel 2010+

High Level Description:


The solution is a VB Macro that combines working days with a list of staff resources. It creates a main schedule and a
rotating second duty schedule of X resources per day. It will be used to test a schedule process cheaply using excel
before a full system solution will be developed

Inputs:
Input 1: (right) - The purpose of this workbook is to be a source of the
working days in the month. The solution will get all of the working days as
dates from this table. A working day is a row that contains a date and is
scheduled. In this example.
Row 1 is not a working day because the date is blank
Row 4 is not a working day because Scheduled = No
Row 5 is a working day, because the date is not blank and
Scheduled = Yes.

Input 2: (below) The list of staff that can be scheduled. Staff have two
important settings Active and Duty.
Active = Yes, means include in scheduled process. Active = No
means do not include in schedule process.
Duty = Yes, means use in duty process. Duty=No means do not
include in schedule process.

Input 3: (below) The amount of staff that should be allocated to duty per day, and not scheduled.
Process Logic
The solution should perform the following:
The solution should blank out the scheduled and duty worksheets if they contain any non-header data.
o The solution should include the headers in the generated worksheets (like the example outputs)
Gather up all of the working days from input 1 into a list (Date is not blank, Scheduled = Yes)
o In the example worksheet there are 17 working days
Gather up all of the staff that are active (Active = Yes) and do not have other duties (Duty = No) and add these
staff to the scheduled worksheet with them working on every working day
In the example worksheet there are 2 active users that do not do other duty.
SMAT Sarah Matthews does not have duty, and is added to the scheduled worksheet for all of
the working days.
NRIV Nelson Rivera does not have duty days, and is added to the scheduled worksheet for all of
the working days.
Gather up all of the staff that are active (Active = yes) and do have duty days (Duty = Yes) into a list of staff that
need to be added to the scheduled and duty worksheets.
o In the example worksheet there are 12 staff that are active and have duty days.
Get the setting for the number of staff that have duty days each day that is scheduled.
In a looping process until all days and staff have been scheduled
o Add the next X staff to the duty worksheet (based on duty per day setting)
o Add the remaining staff to the scheduled worksheet

Output
The result of the process are two populated worksheets in the workbook.
o A scheduled worksheet that includes all days that the staff work except the duty days.
o A duty worksheet that contains a rotating schedule (X per day) of staff that are assigned to duty, and re
not in the main schedule.
The provided example worksheet shows what the output should be.

IMPORTANT: The provide example has the scheduled and duty worksheets populated, they would be blank and
generated by the solution.

Вам также может понравиться