U
Unknown Soldier
I have two sheets in a workbook. One called Availability, and the other
called schedule. The availability tells what time my employees are
available to work and it look like this:
A1 B1 C1
Name Start End
Tom 6 AM 2 PM
Jason 9 AM 5 PM
John 1 PM 9 Pm
Susan 8 AM 4 PM
In the schedule sheet look similar to availability sheet accept it has one
more column that will if I schedule an employee that will have a time
conflict with availablity sheet. Look like this.
A1 B1 C1 D1 E1
F1
Name Start End
Jason 8AM 5 PM Not available before 9 am
Susan 8 AM 6 PM Not Available after 4 pm
John 6 Am 12 PM Only available from 1pm to 9 pm
Tom 6 AM 2 PM
Notice I added three more column. One tell a statement such as "Not
Available Before", "Not Available After", and "Only Available From". The
other two column tell if Column D has a statement such as "Not Available
before", then column E specify the time that particular employee not
available before what time. Similary, with "Not Available after" column E
specify the time that particular employee not available after. Similary, if
column D statement says the time is out of range or "Only Availbable From",
specify the start time in E column and end time in F column. If time is
within range then don't do anything or display blank. Notice the names of
my employees in shedule sheet are not in order with the name of my employees
in the availability sheet. I probably need vlookup formulas as well?
What formulas do I put in cells of Column D, E, F the get the deserve effect
from above? Thanks
called schedule. The availability tells what time my employees are
available to work and it look like this:
A1 B1 C1
Name Start End
Tom 6 AM 2 PM
Jason 9 AM 5 PM
John 1 PM 9 Pm
Susan 8 AM 4 PM
In the schedule sheet look similar to availability sheet accept it has one
more column that will if I schedule an employee that will have a time
conflict with availablity sheet. Look like this.
A1 B1 C1 D1 E1
F1
Name Start End
Jason 8AM 5 PM Not available before 9 am
Susan 8 AM 6 PM Not Available after 4 pm
John 6 Am 12 PM Only available from 1pm to 9 pm
Tom 6 AM 2 PM
Notice I added three more column. One tell a statement such as "Not
Available Before", "Not Available After", and "Only Available From". The
other two column tell if Column D has a statement such as "Not Available
before", then column E specify the time that particular employee not
available before what time. Similary, with "Not Available after" column E
specify the time that particular employee not available after. Similary, if
column D statement says the time is out of range or "Only Availbable From",
specify the start time in E column and end time in F column. If time is
within range then don't do anything or display blank. Notice the names of
my employees in shedule sheet are not in order with the name of my employees
in the availability sheet. I probably need vlookup formulas as well?
What formulas do I put in cells of Column D, E, F the get the deserve effect
from above? Thanks