Programming using military time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Trying to create a spreadsheet using military time
EX: start 2030 (Dec 25) end time 1500 (Dec 26) need formaul to
calulate total hours
 
Hi
one way (start time in A1, end time in B1):
=MOD(TEXT(B1,"00\:00")-TEXT(A1,"00\:00"),1)
and format as time
 
How about just =B22-A22 and format as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Thanks,
where can I find documentation of this (RTFM?)
Regards
(e-mail address removed)
 
Back
Top