Andrew S
Stunt Coordinator
- Joined
- Sep 30, 2001
- Messages
- 214
I'm working on a spreadsheet for a work schedule and want to know if there's a way to calculate total number of hours for each employee per week when it's set up something like this:
Monday Tuesday Wed Thurs Friday
Pete: 9-2, 7-3, 7-3, OFF, 9-5,
etc..
At first I used:
=(COUNTIF(C1895:I1895, "8-4")+COUNTIF(C1895:I1895, "7-3")+COUNTIF(C1895:I1895, "6-2")+COUNTIF(C1895:I1895, "9-5"))*8
... but would like it to somehow interpret a non-8-hour shift if it occurs, like 8-3 for example.
If anyone has any tips they would be much appreciated.
Andrew
Monday Tuesday Wed Thurs Friday
Pete: 9-2, 7-3, 7-3, OFF, 9-5,
etc..
At first I used:
=(COUNTIF(C1895:I1895, "8-4")+COUNTIF(C1895:I1895, "7-3")+COUNTIF(C1895:I1895, "6-2")+COUNTIF(C1895:I1895, "9-5"))*8
... but would like it to somehow interpret a non-8-hour shift if it occurs, like 8-3 for example.
If anyone has any tips they would be much appreciated.
Andrew