View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JICDB JICDB is offline
external usenet poster
 
Posts: 91
Default Time Diff from text format

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?