Thread: time formula
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
crusty53 crusty53 is offline
external usenet poster
 
Posts: 19
Default time formula

Thanks valko

"T. Valko" wrote:

Try this:

=IF(COUNT(A1:B1)<2,"",B1-A1+(B1<A1))

Format as [h]:mm

Biff

"crusty53" wrote in message
...
i have problems getting correct time.
A B C
1 16:00 00:30
2 15:43 23:49
3 13:55 00:01
In column C i want the time between A & B. But it keeps giving me 15:30
and it should be 8:30 Can anybody help.
The formula i am using is (B1-A1)
A is sign on time
B is sign off time