G
Greg (codepug
Date Dates Days on Group Shifts Total Number of days missed
Sick Gone By SickList Working Passed Group1 Group2 Group3 Group4
1/3/2003 1/3/2003 1.00 1 1 1 0 0 0
1/4/2003 2.00 2 1 1 1 0 0
1/5/2003 3.00 3 1 1 1 1 0
1/6/2003 4.00 4 1 1 1 1 1
1/7/2003 5.00 1 2 2 1 1 1
1/8/2003 6.00 2 2 2 2 1 1
1/9/2003 7.00 3 2 2 2 2 1
1/10/2003 8.00 4 2 2 2 2 2
1/11/2003 9.00 1 3 3 2 2 2
1/12/2003 10.00 2 3 3 3 2 2
1/13/2003 11.00 3 3 3 3 3 2
1/14/2003 12.00 4 3 3 3 3 3
1/15/2003 13.00 1 4 4 3 3 3
1/16/2003 14.00 2 4 4 4 3 3
1/17/2003 15.00 3 4 4 4 4 3
1/18/2003 16.00 4 4 4 4 4 4
1/19/2003 17.00 1 5 5 4 4 4
1/20/2003 18.00 2 5 5 5 4 4
1/21/2003 19.00 3 5 5 5 5 4
1/22/2003 20.00 4 5 5 5 5 5
1/23/2003 21.00 1 6 5 5 5
1/24/2003 22.00 2 6 5 5
1/25/2003 23.00 3 6 5
Formulas for Group Working & Shifts Passed
=(MOD(B6-$A$6,4)+1) ‘Group that is working
=INT(((B6-$A$6)/4) + 1) ‘Shifts that have passed since the sick day
My company has 4-groups (ie 1,2,3,4). Each Group is 24hrs of work and
an individual is assigned to only a single group, so he only works 1-
day out of 4. I need to be able to calculated the number of times an
individual has missed working in his group when he is out sick.
Please help me figure out a formula to use to calculate this in the
Group Columns so the results are as shown in the columns. I want to
avoid using If statements.
Sick Gone By SickList Working Passed Group1 Group2 Group3 Group4
1/3/2003 1/3/2003 1.00 1 1 1 0 0 0
1/4/2003 2.00 2 1 1 1 0 0
1/5/2003 3.00 3 1 1 1 1 0
1/6/2003 4.00 4 1 1 1 1 1
1/7/2003 5.00 1 2 2 1 1 1
1/8/2003 6.00 2 2 2 2 1 1
1/9/2003 7.00 3 2 2 2 2 1
1/10/2003 8.00 4 2 2 2 2 2
1/11/2003 9.00 1 3 3 2 2 2
1/12/2003 10.00 2 3 3 3 2 2
1/13/2003 11.00 3 3 3 3 3 2
1/14/2003 12.00 4 3 3 3 3 3
1/15/2003 13.00 1 4 4 3 3 3
1/16/2003 14.00 2 4 4 4 3 3
1/17/2003 15.00 3 4 4 4 4 3
1/18/2003 16.00 4 4 4 4 4 4
1/19/2003 17.00 1 5 5 4 4 4
1/20/2003 18.00 2 5 5 5 4 4
1/21/2003 19.00 3 5 5 5 5 4
1/22/2003 20.00 4 5 5 5 5 5
1/23/2003 21.00 1 6 5 5 5
1/24/2003 22.00 2 6 5 5
1/25/2003 23.00 3 6 5
Formulas for Group Working & Shifts Passed
=(MOD(B6-$A$6,4)+1) ‘Group that is working
=INT(((B6-$A$6)/4) + 1) ‘Shifts that have passed since the sick day
My company has 4-groups (ie 1,2,3,4). Each Group is 24hrs of work and
an individual is assigned to only a single group, so he only works 1-
day out of 4. I need to be able to calculated the number of times an
individual has missed working in his group when he is out sick.
Please help me figure out a formula to use to calculate this in the
Group Columns so the results are as shown in the columns. I want to
avoid using If statements.