colt Wrote:
I am trying to get this result in excel
22:00 to 02:00 =4
22:00 to 03:30 = 5.5
Can anyone help me with this please
Thanks in advance
In your illustration, if 22:00 is in A1 and 02:00 is in B1 then this
formula will get your desired reslut:
=IF(A1B1,((B1-A1)*24)+24,(B1-A1)*24)
--
jahoobob
|