Morning everyone,
I have a test for you all.
I have a schedule of activities that people take part in every day.
It is broken up into half an hour slots.
e.g. 08:00 - 0830 people do 1,2,3,4
1,2,3 & 4 being 4 different activities, which equates to 7.5 minutes per activity.
I'm looking for a way to calculate for the whole week how many minutes each activity has spent on it.
It's difficult as the half an hour slots don't all have the same number of activities, but more problematic is that I can't find a way to calculate calculate a cell that has 1,2,3,4,5 in it as 6 minutes of "1", 6 minutes of "2" etc. Please see below
[TABLE="width: 835"]
<colgroup><col><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD]TIME[/TD]
[TD]Monday[/TD]
[TD]Tuesday[/TD]
[TD]Wednesday[/TD]
[TD]Thursday[/TD]
[TD]Friday[/TD]
[/TR]
[TR]
[TD]6.00-6.30[/TD]
[TD]60[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]6.30-7.00[/TD]
[TD]60[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]7.00-7.30[/TD]
[TD]60[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]7.30-8.00[/TD]
[TD]60[/TD]
[TD]1,2,3,4,5,6,18[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]56,57,4,5,6[/TD]
[/TR]
[TR]
[TD]8.00 - 8.30[/TD]
[TD]60[/TD]
[TD]1,2,3,4,5,6,18,21,56[/TD]
[TD]1, 2, 3, 4, 5, 6, 18, 21[/TD]
[TD]1,2,3,4,5,6,18,21[/TD]
[TD]1,2,3,4,5,6,18,21[/TD]
[/TR]
[TR]
[TD]8.30 - 9.00[/TD]
[TD]60[/TD]
[TD]18, 56,57[/TD]
[TD]1, 2, 3, 4, 5, 6, 18[/TD]
[TD]56,57,44[/TD]
[TD]9,21,56,57[/TD]
[/TR]
[TR]
[TD]9.00 - 9.30[/TD]
[TD]60[/TD]
[TD]55[/TD]
[TD]55, 56, 57, 47, 15[/TD]
[TD]44,47[/TD]
[TD]5,6,16,56[/TD]
[/TR]
[TR]
[TD]9.30 - 10.00[/TD]
[TD]60[/TD]
[TD]55[/TD]
[TD]5, 9,15, 57, 55[/TD]
[TD]47,28,27[/TD]
[TD]5,6,16[/TD]
[/TR]
[TR]
[TD]10.00 - 10.30[/TD]
[TD]60[/TD]
[TD]47,28,56,57[/TD]
[TD]5,6,16[/TD]
[TD]47,63[/TD]
[TD]5,6,16[/TD]
[/TR]
</tbody>[/TABLE]
I have a test for you all.
I have a schedule of activities that people take part in every day.
It is broken up into half an hour slots.
e.g. 08:00 - 0830 people do 1,2,3,4
1,2,3 & 4 being 4 different activities, which equates to 7.5 minutes per activity.
I'm looking for a way to calculate for the whole week how many minutes each activity has spent on it.
It's difficult as the half an hour slots don't all have the same number of activities, but more problematic is that I can't find a way to calculate calculate a cell that has 1,2,3,4,5 in it as 6 minutes of "1", 6 minutes of "2" etc. Please see below
[TABLE="width: 835"]
<colgroup><col><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD]TIME[/TD]
[TD]Monday[/TD]
[TD]Tuesday[/TD]
[TD]Wednesday[/TD]
[TD]Thursday[/TD]
[TD]Friday[/TD]
[/TR]
[TR]
[TD]6.00-6.30[/TD]
[TD]60[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]6.30-7.00[/TD]
[TD]60[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]7.00-7.30[/TD]
[TD]60[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]7.30-8.00[/TD]
[TD]60[/TD]
[TD]1,2,3,4,5,6,18[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]56,57,4,5,6[/TD]
[/TR]
[TR]
[TD]8.00 - 8.30[/TD]
[TD]60[/TD]
[TD]1,2,3,4,5,6,18,21,56[/TD]
[TD]1, 2, 3, 4, 5, 6, 18, 21[/TD]
[TD]1,2,3,4,5,6,18,21[/TD]
[TD]1,2,3,4,5,6,18,21[/TD]
[/TR]
[TR]
[TD]8.30 - 9.00[/TD]
[TD]60[/TD]
[TD]18, 56,57[/TD]
[TD]1, 2, 3, 4, 5, 6, 18[/TD]
[TD]56,57,44[/TD]
[TD]9,21,56,57[/TD]
[/TR]
[TR]
[TD]9.00 - 9.30[/TD]
[TD]60[/TD]
[TD]55[/TD]
[TD]55, 56, 57, 47, 15[/TD]
[TD]44,47[/TD]
[TD]5,6,16,56[/TD]
[/TR]
[TR]
[TD]9.30 - 10.00[/TD]
[TD]60[/TD]
[TD]55[/TD]
[TD]5, 9,15, 57, 55[/TD]
[TD]47,28,27[/TD]
[TD]5,6,16[/TD]
[/TR]
[TR]
[TD]10.00 - 10.30[/TD]
[TD]60[/TD]
[TD]47,28,56,57[/TD]
[TD]5,6,16[/TD]
[TD]47,63[/TD]
[TD]5,6,16[/TD]
[/TR]
</tbody>[/TABLE]