Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Programming using military time

Trying to create a spreadsheet using military time
EX: start 2030 (Dec 25) end time 1500 (Dec 26) need formaul to
calulate total hours

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Programming using military time

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

--
Regards
Frank Kabel
Frankfurt, Germany
"Mike" schrieb im Newsbeitrag
...
Trying to create a spreadsheet using military time
EX: start 2030 (Dec 25) end time 1500 (Dec 26) need formaul to
calulate total hours



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Programming using military time

This sugestion dos not seem to work in my swedish XL/(OS?(XP))
"Frank Kabel" skrev i meddelandet
...
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

--
Regards
Frank Kabel
Frankfurt, Germany
"Mike" schrieb im Newsbeitrag
...
Trying to create a spreadsheet using military time
EX: start 2030 (Dec 25) end time 1500 (Dec 26) need formaul to
calulate total hours





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Programming using military time

Hi
try this:
=REST(TEXT(B1;"00\:00")-TEXT(A1;"00\:00");1)

--
Regards
Frank Kabel
Frankfurt, Germany
"Stefan Lewold" schrieb im Newsbeitrag
...
This sugestion dos not seem to work in my swedish XL/(OS?(XP))
"Frank Kabel" skrev i meddelandet
...
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

--
Regards
Frank Kabel
Frankfurt, Germany
"Mike" schrieb im Newsbeitrag
...
Trying to create a spreadsheet using military time
EX: start 2030 (Dec 25) end time 1500 (Dec 26) need formaul to
calulate total hours







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Programming using military time

How about just =B22-A22 and format as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mike" wrote in message
...
Trying to create a spreadsheet using military time
EX: start 2030 (Dec 25) end time 1500 (Dec 26) need formaul to
calulate total hours





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Programming using military time

Thanks,
where can I find documentation of this (RTFM?)
Regards


*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Programming using military time

Hi
probably best thing is this NG. And some good websites such as:
http://www.cpearson.com/excel/datetime.htm

AFAIK the only book for advanced formulas is John Walkenbachs 'Formulas for
Excel' book.

--
Regards
Frank Kabel
Frankfurt, Germany

Stefan Lewold wrote:
Thanks,
where can I find documentation of this (RTFM?)
Regards


*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Standard Time to Military Time in Excel mtvschultz Excel Discussion (Misc queries) 3 May 5th 23 11:42 AM
Converting standard time to military time C. Excel Worksheet Functions 9 June 1st 17 10:06 PM
Is there an XLS function to convert std time to Military time? Carl Excel Worksheet Functions 1 May 20th 09 09:48 PM
formula for converting military time to standard time, etc Pattio Excel Discussion (Misc queries) 8 February 17th 08 01:12 AM
Show timesheet time in and out in regular time versus military tim John Excel Worksheet Functions 1 November 11th 05 05:14 AM


All times are GMT +1. The time now is 11:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"