• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

24 hour format time, calculate total hours

waratah2014

New Member
I get result of value######.

basically need to calculate work hours say start 17:30 to 0130 = result should be 8 hrs but an error.

hence here asking for help. attached is the copy of the sheet with formula.

example : 17:21 to 01:32 or 16:51 to 02:32


thanks for your time
 

Attachments

  • Excel 1730 Capture.PNG
    Excel 1730 Capture.PNG
    28.4 KB · Views: 16
waratah2014
Your 17:30 is okay,
but with 01:30 ( because it would be next days (30/4/2021 based You expected 8:00 result).
You should add 1 to 01:30 to get positive result.
Hint: use 29/4/2021 17:30 and 30/4/2021 01:30 to get expected results.
... and same would work if there would be longer periods eg over two days.
 
Back
Top