I am trying to calculate total time worked from 5 PM to 7 AM with no breaks. I have already tried the following formula but it does not fit the need over midnight.
=IF((D57-C57)*24)>8,8,((D57-C57)*24))
Column D start time Column C end time
Please Help
Bookmarks