Time difference between two times

G

GL

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
 
D

David Biddulph

=1+B1-A1

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