- Aug 5, 2009
- 222
- 0
- 76
hi, i'm stumped trying to come up with an Excel formula to keep track of an employee's time spent on a task. we work graveyard shift from 8pm to 4:30 am, M-F. Normally just subtracting two dates/time would work (start time: 5/10/12 10 pm end time: 5/11/12 1 am would yield 3 hours) but if an employee starts a task at 8pm on a Friday (5/11/12 8pm) and finishes the task on Monday (5/14/12 9pm) that would mean it took 9 (working) hours to finish the task. The thing that messes me up is when Friday crosses over into Saturday (still on Friday shift since it's 3rd shift). i'm stuck trying to come up with something that would exclude Sat (and Sun) hours and to just keep track of working hours hours. Any help is appreciated!
Last edited: