Share via

Need formula calculate difference between hours

Anonymous
2024-11-04T09:58:00+00:00

What I have. What I need

A.          B.               D

1 11:45. 00:20. 12:35

  1. 10:24. 00:55. 14:30
  2. 10:45. 18:50. 8:05
  3. 10:01. 1:30. 15:29
  4. 15:33. 2:04. 10:31

Thanks

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Ashish Mathur 102K Reputation points Volunteer Moderator
2024-11-05T03:12:00+00:00

Hi,

In cell C2, enter this formula and drag down

=B2-A2+(B2<A2)

Hope this helps.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. riny 20,870 Reputation points Volunteer Moderator
    2024-11-04T10:05:37+00:00

    See picture below! Works for all calculations of end time minus start time.

    Image

    Was this answer helpful?

    0 comments No comments