Share via

Time calculation calendar

Anonymous
2023-05-18T21:01:24+00:00

I'm using Excel 365 and am trying to create a 12-month calendar that will calculate hours worked per week, but it seems I've managed to overthink it (such is my curse) and got myself confused. I've included a screenshot below of what I'm trying to accomplish. Cell J8 has the formula =TEXT(B8,"00:00")-TEXT(B7,"00:00")+(B7>B8) , and there are two things I can't figure out how to do:

1.) configure the formula to calculate multiple days

2.) automatically subtract :45 from each day if more than 5 hours are worked (e.g. the second week's total is 16, even though it would normally add up to 16.90).

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

2 answers

Sort by: Most helpful
  1. Anonymous
    2023-05-23T16:03:13+00:00

    Have you tried it? Feel free to share any update.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-05-19T06:34:38+00:00

    =SUM(IF(B8:H8-B7:H7>5/24,B8:H8-B7:H7-45/60/24,B8:H8-B7:H7))

    Was this answer helpful?

    0 comments No comments