I'm sure the answer to this is in another thread, but I searched for a good while with no luck.
I have a workbook that contains a worksheet for every week of the year. There is also a sheet for Year to Date. On each sheet there is a list of the employees. (A5-A25 or so)
This is what the weekly sheet looks like.[TABLE="width: 500"]
<TBODY>[TR]
[TD]Emplyee Last Name[/TD]
[TD]Employee First Name[/TD]
[TD]M[/TD]
[TD]T[/TD]
[TD]W[/TD]
[TD]Th[/TD]
[TD]F[/TD]
[TD]Weekly Total[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Last Name 1[/TD]
[TD]First Name 1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Last Name 2[/TD]
[TD]First Name 2[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Last Name 3[/TD]
[TD]First Name 3[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Last Name 4[/TD]
[TD]First Name 4[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Weekly Total[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]26[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
The YTD sheet would be identical, except for each day of the week, it would be the total for the year.
Typically this would be a simple summation across sheets. Unfortunately, since our department has some turn-over in staffing, Employee 1 might be on row 5 for most weeks, but he might be on row 4 on another week. If more people get hired, he might get moved down to Row 6 for other weeks.
Since the employee's row is not static, I need to figure out how to do some sort of look-up or cross referencing that I'm not versed in.
In simple terms, the logic is : Total all of the Monday calls, for each employee, on their own row regardless of what row they happen to be on that week.
I was researching earlier, and it looks like I will need a table that contains all of the tabs (sheet) names, so that has already been created. It is located on the side of the YTD sheet, and it's called 'tabnames'.
Help! And of course, Thanks!!!
I have a workbook that contains a worksheet for every week of the year. There is also a sheet for Year to Date. On each sheet there is a list of the employees. (A5-A25 or so)
This is what the weekly sheet looks like.[TABLE="width: 500"]
<TBODY>[TR]
[TD]Emplyee Last Name[/TD]
[TD]Employee First Name[/TD]
[TD]M[/TD]
[TD]T[/TD]
[TD]W[/TD]
[TD]Th[/TD]
[TD]F[/TD]
[TD]Weekly Total[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Last Name 1[/TD]
[TD]First Name 1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Last Name 2[/TD]
[TD]First Name 2[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Last Name 3[/TD]
[TD]First Name 3[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Last Name 4[/TD]
[TD]First Name 4[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Weekly Total[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]26[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
The YTD sheet would be identical, except for each day of the week, it would be the total for the year.
Typically this would be a simple summation across sheets. Unfortunately, since our department has some turn-over in staffing, Employee 1 might be on row 5 for most weeks, but he might be on row 4 on another week. If more people get hired, he might get moved down to Row 6 for other weeks.
Since the employee's row is not static, I need to figure out how to do some sort of look-up or cross referencing that I'm not versed in.
In simple terms, the logic is : Total all of the Monday calls, for each employee, on their own row regardless of what row they happen to be on that week.
I was researching earlier, and it looks like I will need a table that contains all of the tabs (sheet) names, so that has already been created. It is located on the side of the YTD sheet, and it's called 'tabnames'.
Help! And of course, Thanks!!!