Hi if anyone can help.
I update the sheets below because, If a guy works over 40 hours he gets overtime regardless if he works 10 hours in one day. You can see on the first sheet column Y is adding up to 48. Since its over 40 i have to break it down as you can see on second sheet. You can see 8/2 then 6 stays the same because its under 8. Then 8/4 for Wednesday then 8/2 for Thursday then Friday stays the same because the Y Column total reached 40. So Friday he doesn't get 8/2. Friday stays at 10.
The second guy only worked 39 hours this week. Since its under 40 nothing happens. I would have this time down the whole sheet. Trying to See maybe a Macro would be good for this or a formula but I wouldn't really know where would the formula go on the Sheet. Why was thinking a macro. The columns with numbers that would change only are F,G I,J L,M O,P R,S U,V W,X . Ignore all DT columns. They are never used.
Sample Sheet
Results
I update the sheets below because, If a guy works over 40 hours he gets overtime regardless if he works 10 hours in one day. You can see on the first sheet column Y is adding up to 48. Since its over 40 i have to break it down as you can see on second sheet. You can see 8/2 then 6 stays the same because its under 8. Then 8/4 for Wednesday then 8/2 for Thursday then Friday stays the same because the Y Column total reached 40. So Friday he doesn't get 8/2. Friday stays at 10.
The second guy only worked 39 hours this week. Since its under 40 nothing happens. I would have this time down the whole sheet. Trying to See maybe a Macro would be good for this or a formula but I wouldn't really know where would the formula go on the Sheet. Why was thinking a macro. The columns with numbers that would change only are F,G I,J L,M O,P R,S U,V W,X . Ignore all DT columns. They are never used.
Sample Sheet
Timesheet Test.xlsx | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | |||
5 | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday | WEEKLY TOTALS | |||||||||||||||||||||
6 | 2/27 | 2/28 | 3/1 | 3/2 | 3/3 | 3/4 | 3/5 | ||||||||||||||||||||||
7 | No. | N | T | ID | J | ST | OT | DT | ST | OT | DT | ST | OT | DT | ST | OT | DT | ST | OT | DT | ST | OT | ST | OT | ST | OT | DT | ||
8 | 1 | Bob | 7 Super | 100 | 253 | 10.0 | 6.0 | 12.0 | 10.0 | 10.0 | 48.0 | - | |||||||||||||||||
9 | 2 | Jason1 | 7 Super | 190 | 896 | 9.0 | 9.0 | 5.0 | 13.0 | 3.0 | 39.0 | - | |||||||||||||||||
Timesheet |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
C8:C9 | List | =$AH$844:$AH$944 |
Results
Timesheet Test 2.xlsx | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | |||
5 | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday | WEEKLY TOTALS | |||||||||||||||||||||
6 | 2/27 | 2/28 | 3/1 | 3/2 | 3/3 | 3/4 | 3/5 | ||||||||||||||||||||||
7 | No. | N | T | ID | J | ST | OT | DT | ST | OT | DT | ST | OT | DT | ST | OT | DT | ST | OT | DT | ST | OT | ST | OT | ST | OT | DT | ||
8 | 1 | Bob | 7 Super | 5 | 253 | 8.0 | 2.0 | 6.0 | 8.0 | 4.0 | 8.0 | 2.0 | 10.0 | 40.0 | 8.0 | ||||||||||||||
9 | 2 | Jason1 | 7 Super | 9 | 896 | 9.0 | 9.0 | 5.0 | 13.0 | 3.0 | 39.0 | - | |||||||||||||||||
Timesheet |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
C8:C9 | List | =$AH$844:$AH$944 |