Hi, please help with a formula to calculate time period as in the attachment.
Thanks
Hi, please help with a formula to calculate time period as in the attachment.
Thanks
for that example
=MOD(D5-B5,1) gives 10:00 cell formatted hh:mm
if you want a decimal number of hours
=MOD(D5-B5,1)*24 cell formatted general
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
=(c5+d5)-(a5+b5)
Regards
Special-K
Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.
Hi,
=TEXT((D5-B5),"h:mm")
Punnam
hope to help u~
i'm with special k here i didn't notice it was 2 days
so the answer should be 34 hours 9:30 to 9:30 is 24 , 9:30 to 19:30 is 10 total 34
so as special k said =(c5+d5)-(a5+b5) format cells [hh]:mm to get 34:00
or
=((C5+D5)-(A5+B5))*24 format cells general to get 34
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks