Time Diff from text format
One way:
=TEXT(B1,"00\:00")-TEXT(A1,"00\:00")
or, if the times may span midnight,
=MOD(TEXT(B1,"00\:00")-TEXT(A1,"00\:00"),1)
In article ,
JICDB wrote:
I have searched for quite some time but can't seem to find the same problem.
I have a file containing 50,000 lines containing scheduled times and actual
times but the catch is that the original source formats the time as 630 for
6:30 or 1350 for 1:50pm. I am trying to subtract the actual time from the
scheduled time to determine how many minutes the bus was late.
I tried adding leading zeros and subtracting the left 2 digits from each
other, but that didn't work. I tried a variey of formulas listed here but
none worked. Any ideas?
|