su_maverick
New Member
- Joined
- Aug 27, 2014
- Messages
- 8
I am an assistant administrator for a group of doctors offices. We have multiple locations and our doctors are not always situated in the same location. I have been trying to create a scheduler program that will auto-populate a calendar for those locations. I wanted this to be as dynamic as possible so this is what I set up.
- The month would be pasted into the scheduler which would have things like vacations, holidays, and days not working already pre-populated from my paid-time-off tracking sheet.
- I would then work with the scheduler to ensure that all locations have the minimum number of employees working on it in a given day.
What I would like is for the resulting calendar (to be distributed to the employees) to have zero manual entry and take everything from the scheduler I am working on
Here is a sample of the file layout: http://s000.tinyupload.com/?file_id=11812568118096918644
This has the first week of the month setup as the calendar where it checks to see what the first day of the month is in the scheduler and dates it appropriately.
Ive been trying to find a way to use an INDEX function (or multiple ones) that would do the following
RESULT - Return the initials for the employee located in column C
Determining factor for initial index
ROW - The first initial would be the first occurrence that the office initials (O1, O2 etc) shows up on the scheduler
COLUMN - The date listed on the calendar
It would continue to do this for all occurrences of an employee being scheduled in that office on that day (I have been using the SMALL function for this
So, what I need it to do is go to the column for the date that I am piping into the equation and then search that column for the office initials I am going to give it. Once it has found that, I need to get the employee initials that are located in column C. This is why I feel that I need at least two index functions to accomplish this.
Here is my top layer INDEX function that give the employee initials:
INDEX($A$1:$AH$14,***FUNCTION THAT DETERMINES ROW***,3)
Here is what Ive been trying to work on for the nested INDEX to find the ROW:
=INDEX(A1:AH14,******,SMALL(IF($D$4:$AH$4=AN1,COLUMN(D4:AH4),""),COLUMN(1:1)))
Maybe Im doing this wrong. All I need it to do is return the row number(s) of the instances of the office initials showing up in the column specified by SMALL(IF($D$4:$AH$4=AN1,COLUMN(D4:AH4),""),COLUMN(1:1))
Any help would be appreciated.
- The month would be pasted into the scheduler which would have things like vacations, holidays, and days not working already pre-populated from my paid-time-off tracking sheet.
- I would then work with the scheduler to ensure that all locations have the minimum number of employees working on it in a given day.
What I would like is for the resulting calendar (to be distributed to the employees) to have zero manual entry and take everything from the scheduler I am working on
Here is a sample of the file layout: http://s000.tinyupload.com/?file_id=11812568118096918644
This has the first week of the month setup as the calendar where it checks to see what the first day of the month is in the scheduler and dates it appropriately.
Ive been trying to find a way to use an INDEX function (or multiple ones) that would do the following
RESULT - Return the initials for the employee located in column C
Determining factor for initial index
ROW - The first initial would be the first occurrence that the office initials (O1, O2 etc) shows up on the scheduler
COLUMN - The date listed on the calendar
It would continue to do this for all occurrences of an employee being scheduled in that office on that day (I have been using the SMALL function for this
So, what I need it to do is go to the column for the date that I am piping into the equation and then search that column for the office initials I am going to give it. Once it has found that, I need to get the employee initials that are located in column C. This is why I feel that I need at least two index functions to accomplish this.
Here is my top layer INDEX function that give the employee initials:
INDEX($A$1:$AH$14,***FUNCTION THAT DETERMINES ROW***,3)
Here is what Ive been trying to work on for the nested INDEX to find the ROW:
=INDEX(A1:AH14,******,SMALL(IF($D$4:$AH$4=AN1,COLUMN(D4:AH4),""),COLUMN(1:1)))
Maybe Im doing this wrong. All I need it to do is return the row number(s) of the instances of the office initials showing up in the column specified by SMALL(IF($D$4:$AH$4=AN1,COLUMN(D4:AH4),""),COLUMN(1:1))
Any help would be appreciated.