Hi all,
I have a workbook that we use for our rota. The template contains 5 sheets: 'Staff Stats', 'Week 1 Master', Week 2 Master', 'Start', 'End'
The Workbook is used to record each months schedule.
There are two Week # Master pages as the rota is fortnightly - workers have every other weekend off and different days off in the week.
A new sheet is created for each week of the month by copying the appropriate Master (depending on whether the month starts with a week 1 or week 2 format) and placing between the 'Start' and 'End' sheets. This was done so that monthly data could be collected on the 'Staff Stats' sheet which did not include shift data from the Master sheets (so it only looks at cell references between the 'Start' and 'End' sheets).
My problem is that I have been asked for the Staff Stats sheet to collect the weekly data (as in week 1, week 2, etc) and I am struggling to get my head around this. My problem appears to be that as the sheets don't exist until they are created and named I can't create cells that reference the data (because it isn't there).
Is there a way a referencing sheets in a workbook without using the sheet name? As in "This cell equals the value of B1 of the 5th sheet in the workbook"
Kev
I have a workbook that we use for our rota. The template contains 5 sheets: 'Staff Stats', 'Week 1 Master', Week 2 Master', 'Start', 'End'
The Workbook is used to record each months schedule.
There are two Week # Master pages as the rota is fortnightly - workers have every other weekend off and different days off in the week.
A new sheet is created for each week of the month by copying the appropriate Master (depending on whether the month starts with a week 1 or week 2 format) and placing between the 'Start' and 'End' sheets. This was done so that monthly data could be collected on the 'Staff Stats' sheet which did not include shift data from the Master sheets (so it only looks at cell references between the 'Start' and 'End' sheets).
My problem is that I have been asked for the Staff Stats sheet to collect the weekly data (as in week 1, week 2, etc) and I am struggling to get my head around this. My problem appears to be that as the sheets don't exist until they are created and named I can't create cells that reference the data (because it isn't there).
Is there a way a referencing sheets in a workbook without using the sheet name? As in "This cell equals the value of B1 of the 5th sheet in the workbook"
Kev