Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Split Military time over fields

I have time stored in Military time format. 17:30. When I try to split the
field in to one for hr and one for min. The time will split as 5 instead of
17 then 30 and then Pm in the last cell. How do I keep the 17?
Thanks
Connie
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Split Military time over fields

=INT(A1*24) formatted General will give you the 17

=((A1*24)-INT(A1*24))*60 formatted General will give you the 30

Vaya con Dios,
Chuck, CABGx3




"ConnieB" wrote:

I have time stored in Military time format. 17:30. When I try to split the
field in to one for hr and one for min. The time will split as 5 instead of
17 then 30 and then Pm in the last cell. How do I keep the 17?
Thanks
Connie

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Split Military time over fields

how exactly are u splitting them?
i believe that using a substring function where you put the first two chars
in a cell and the last 2 in another would work (provided that the time is
formatted always HH:MM)
--
thanks,
kowalsky


"ConnieB" wrote:

I have time stored in Military time format. 17:30. When I try to split the
field in to one for hr and one for min. The time will split as 5 instead of
17 then 30 and then Pm in the last cell. How do I keep the 17?
Thanks
Connie

  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Split Military time over fields

Glad it worked for you...........thanks for the feedback.

Vaya con Dios,
Chuck, CABGx3



"ConnieB" wrote:

It Worked!
Thank you so much for all your help.
Connie

"CLR" wrote:

=INT(A1*24) formatted General will give you the 17

=((A1*24)-INT(A1*24))*60 formatted General will give you the 30

Vaya con Dios,
Chuck, CABGx3




"ConnieB" wrote:

I have time stored in Military time format. 17:30. When I try to split the
field in to one for hr and one for min. The time will split as 5 instead of
17 then 30 and then Pm in the last cell. How do I keep the 17?
Thanks
Connie

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Split Military time over fields

It Worked!
Thank you so much for all your help.
Connie

"CLR" wrote:

=INT(A1*24) formatted General will give you the 17

=((A1*24)-INT(A1*24))*60 formatted General will give you the 30

Vaya con Dios,
Chuck, CABGx3




"ConnieB" wrote:

I have time stored in Military time format. 17:30. When I try to split the
field in to one for hr and one for min. The time will split as 5 instead of
17 then 30 and then Pm in the last cell. How do I keep the 17?
Thanks
Connie



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Split Military time over fields

=HOUR(A1)
=MINUTE(A1)
--
David Biddulph

"ConnieB" wrote in message
...
I have time stored in Military time format. 17:30. When I try to split
the
field in to one for hr and one for min. The time will split as 5 instead
of
17 then 30 and then Pm in the last cell. How do I keep the 17?
Thanks
Connie



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
military time TerryTutor Excel Discussion (Misc queries) 2 March 19th 07 02:50 PM
How to keep 0 for military time Tory Excel Discussion (Misc queries) 2 September 5th 06 08:29 AM
Military time comes up? kat Excel Discussion (Misc queries) 1 March 7th 06 05:15 PM
Military Time exsam21 Excel Discussion (Misc queries) 3 January 18th 06 06:50 PM
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 04:58 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"