Hi
Enter times as times. I.e. 8:15 or 16:45, etc. Then to calculate any time
interval you'll have ordinary substraction, like =B2-A2, and cell with
formula formatte as time too.
To use any time or time interval in calculations as number of hours, you
have to multiply it with 24 (24 hours equals to integer value 1). I.e when
you have p.e. entered into a2 a time value 3:15 , then 24*A2=3.25 (to see
the result this way, format the cell as general).
When you have to calculate time intervals which include midnight rollover,
use the formula like =B2-A2+(B2<A2)
(NB! This formula is valid only for time itervals less than 24 hours).
When you sum up times/time intervals in some cell, and the sum can exceede
24 hours, format the cell as "[h]:mm".
Arvi Laanemets