The secret to working with times is that Excel counts time in units of days. For your problem, assuming the elapsed time is less than 24 hours, use the formula
=IF(A1>B1,1+B1-A1,B1-A1)*24
which will give you the number of hours (with fractions of an hour if needed)


Reply With Quote
Bookmarks