ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Time difference between two times (https://www.excelbanter.com/excel-worksheet-functions/133757-time-difference-between-two-times.html)

GL

Time difference between two times
 
Hi,
How can I calculate with a formula the time difference between two times
when the second time is on the next day ( the cells are formatted as time ).
i.e. the difference between 17:00 today to 01:30 next day.
Thank you
GL

David Biddulph[_2_]

Time difference between two times
 
=1+B1-A1

Of course, is the cells contain date and time, it is just =B1-A1
--
David Biddulph

"GL" wrote in message
...
Hi,
How can I calculate with a formula the time difference between two times
when the second time is on the next day ( the cells are formatted as
time ).
i.e. the difference between 17:00 today to 01:30 next day.
Thank you
GL





All times are GMT +1. The time now is 09:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com