Hi guys.
I have this Hour Summary table but requires further tweaking and I tried a few methods from internet but it doesnt seem to work.
As you can see below, I have 2 Summary tables, 1 for day shift and 1 for night shift.
For the Day Shift Summary table, D8, E8 and F8 cell should only pick up people who signed in for SOS (column J) before 18:00.
For the Night Shift Summary table, D18, E18 and F18 cell should only pick up people who signed in for SOS (column J) on or after 18:00.
Thanks for the help.
I have this Hour Summary table but requires further tweaking and I tried a few methods from internet but it doesnt seem to work.
As you can see below, I have 2 Summary tables, 1 for day shift and 1 for night shift.
For the Day Shift Summary table, D8, E8 and F8 cell should only pick up people who signed in for SOS (column J) before 18:00.
For the Night Shift Summary table, D18, E18 and F18 cell should only pick up people who signed in for SOS (column J) on or after 18:00.
Green Badge Sign-In Sheet.xlsb | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | |||
2 | Sunday | Please enter in 24hour format | ||||||||||||||
3 | Login | SOS | Break Out | Break In | EOS | Total Hous | ||||||||||
4 | Name 1 | |||||||||||||||
5 | Name 2 | |||||||||||||||
6 | Day Shift Summary | Name 3 | ||||||||||||||
7 | Day Shift | HC Onsite | HC Break | Total Hours | Name 4 | |||||||||||
8 | Sunday | 2 | 0 | Name 5 | 7:00 | 13:01 | 13:31 | 17:30 | 10:00 | |||||||
9 | Monday | 0 | 0 | Name 6 | ||||||||||||
10 | Tuesday | 0 | 0 | Name 7 | ||||||||||||
11 | Wednesday | 2 | 1 | Name 8 | ||||||||||||
12 | Thursday | 0 | 0 | Name 9 | 7:00 | 13:01 | 13:31 | 17:30 | 10:00 | |||||||
13 | Friday | 0 | 0 | Name 10 | ||||||||||||
14 | Saturday | 0 | 0 | Name 11 | ||||||||||||
15 | Name 12 | 18:00 | ||||||||||||||
16 | Night Shift Summary | Name 13 | 20:00 | |||||||||||||
17 | Night Shift | HC Onsite | HC Break | Total Hours | Name 14 | |||||||||||
18 | Sunday | Name 15 | ||||||||||||||
19 | Monday | |||||||||||||||
20 | Tuesday | |||||||||||||||
21 | Wednesday | |||||||||||||||
22 | Thursday | |||||||||||||||
23 | Friday | |||||||||||||||
24 | Saturday | |||||||||||||||
Week 44 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D8 | D8 | =COUNTIFS(J3:J28,">0",M3:M28,"",K3:K28,">0",L3:L28,">0") + COUNTIFS(J3:J28,">0",M3:M28,"",K3:K28,"",L3:L28,"") |
E8 | E8 | =COUNTIFS(J3:J28,">0",M3:M28,"",K3:K28,">0",L3:L28,"") |
D9 | D9 | =COUNTIFS(C31:C56,">0",F31:F56,"",D31:D56,">0",E31:E56,">0") + COUNTIFS(C31:C56,">0",F31:F56,"",D31:D56,"",E31:E56,"") |
E9 | E9 | =COUNTIFS(C31:C56,">0",F31:F56,"",D31:D56,">0",E31:E56,"") |
D10 | D10 | =COUNTIFS(J31:J56,">0",M31:M56,"",K31:K56,">0",L31:L56,">0") + COUNTIFS(J31:J56,">0",M31:M56,"",K31:K56,"",L31:L56,"") |
E10 | E10 | =COUNTIFS(J31:J56,">0",M31:M56,"",K31:K56,">0",L31:L56,"") |
D11 | D11 | =COUNTIFS(C59:C84,">0",F59:F84,"",D59:D84,">0",E59:E84,">0") + COUNTIFS(C59:C84,">0",F59:F84,"",D59:D84,"",E59:E84,"") |
E11 | E11 | =COUNTIFS(C59:C84,">0",F59:F84,"",D59:D84,">0",E59:E84,"") |
D12 | D12 | =COUNTIFS(J59:J84,">0",M59:M84,"",K59:K84,">0",L59:L84,">0") + COUNTIFS(J59:J84,">0",M59:M84,"",K59:K84,"",L59:L84,"") |
E12 | E12 | =COUNTIFS(J59:J84,">0",M59:M84,"",K59:K84,">0",L59:L84,"") |
D13 | D13 | =COUNTIFS(C87:C112,">0",F87:F112,"",D87:D112,">0",E87:E112,">0") + COUNTIFS(C87:C112,">0",F87:F112,"",D87:D112,"",E87:E112,"") |
E13 | E13 | =COUNTIFS(C87:C112,">0",F87:F112,"",D87:D112,">0",E87:E112,"") |
D14 | D14 | =COUNTIFS(J87:J112,">0",M87:M112,"",K87:K112,">0",L87:L112,">0") + COUNTIFS(J87:J112,">0",M87:M112,"",K87:K112,"",L87:L112,"") |
E14 | E14 | =COUNTIFS(J87:J112,">0",M87:M112,"",K87:K112,">0",L87:L112,"") |
F24 | F24 | =IF(SUM($N$88:$N$112)=0,"",SUM($N$88:$N$112)) |
N4:N24 | N4 | =IF(M4="","",IF(J4>M4,M4+1,M4)-J4-(L4-K4)) |
Thanks for the help.