Hi @IMK
Thanks for your explanation.
In addition to the formula you shared "=MAX(0, MIN(B1, TIME(20,0,0)) - MAX(A1, TIME(11,0,0)))", you may also try the formula like =HOUR(MIN(B$1,B2)-MAX(A$1,A2))
.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.