Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Excel time conversion issue

I imported some data into excel. Time values were in military format but
when moved to excel the values change. Tried to convert back to military
time using format cells but this does not work. For example, 0500 changed to
something like 1123 in excel.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Excel time conversion issue

I think we'll need a bit more detail. What sort of file did you import into
Excel? How did you import it? What did you do with the 0500 to get it to
change to 1123?
Remember that times in Excel are formatted with a semi-colon, so they ought
to be put in as 05:00, for example. If it was starting as 0500 there are
ways of translating to time, but we need to know. Merely changing the
format doesn't change the values in the cells, of course.
--
David Biddulph

"benny" wrote in message
...
I imported some data into excel. Time values were in military format but
when moved to excel the values change. Tried to convert back to military
time using format cells but this does not work. For example, 0500 changed
to
something like 1123 in excel.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Excel time conversion issue

Don't assume everyone knows what you mean by "military format" Some call
24:00 military format other call 2400 military format, it looks like you
mean the latter. I can't see how 0500 can change to 1123. How do you import
the data?
If you want to convert 500 to 5:00 you can use


=--TEXT(H1,"00\:00")

and format as time, but I find it hard to see how 500 became 1123 just by
importing it


--


Regards,


Peo Sjoblom




"benny" wrote in message
...
I imported some data into excel. Time values were in military format but
when moved to excel the values change. Tried to convert back to military
time using format cells but this does not work. For example, 0500 changed
to
something like 1123 in excel.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Excel time conversion issue

Sorry I'm a new poster and wasn't specific enough. Excel was importing the
dates in as text. Your formula worked and then I formatted to the military
format that I wanted. Thanks so much.

"Peo Sjoblom" wrote:

Don't assume everyone knows what you mean by "military format" Some call
24:00 military format other call 2400 military format, it looks like you
mean the latter. I can't see how 0500 can change to 1123. How do you import
the data?
If you want to convert 500 to 5:00 you can use


=--TEXT(H1,"00\:00")

and format as time, but I find it hard to see how 500 became 1123 just by
importing it


--


Regards,


Peo Sjoblom




"benny" wrote in message
...
I imported some data into excel. Time values were in military format but
when moved to excel the values change. Tried to convert back to military
time using format cells but this does not work. For example, 0500 changed
to
something like 1123 in excel.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Excel time conversion issue

Glad you've got a solution. We'd still be interested to hear what process
you went through which converted 0500 to 1123 previously?
--
David Biddulph

"benny" wrote in message
...
Sorry I'm a new poster and wasn't specific enough. Excel was importing
the
dates in as text. Your formula worked and then I formatted to the
military
format that I wanted. Thanks so much.


"Peo Sjoblom" wrote:

Don't assume everyone knows what you mean by "military format" Some call
24:00 military format other call 2400 military format, it looks like you
mean the latter. I can't see how 0500 can change to 1123. How do you
import
the data?
If you want to convert 500 to 5:00 you can use

=--TEXT(H1,"00\:00")

and format as time, but I find it hard to see how 500 became 1123 just by
importing it


"benny" wrote in message
...
I imported some data into excel. Time values were in military format
but
when moved to excel the values change. Tried to convert back to
military
time using format cells but this does not work. For example, 0500
changed
to
something like 1123 in excel.



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
XML to Excel conversion issue Nirad Excel Discussion (Misc queries) 1 June 19th 07 05:26 PM
File conversion-text encoding issue elhirsch Excel Discussion (Misc queries) 2 September 11th 06 03:19 PM
Vlookup text conversion issue PamKT Excel Discussion (Misc queries) 2 August 28th 06 05:59 PM
Date conversion issue... again Dimmer Excel Discussion (Misc queries) 6 July 11th 05 04:11 PM
Date conversion issue "^" symbol Shannon Excel Discussion (Misc queries) 1 May 4th 05 12:25 AM


All times are GMT +1. The time now is 06:23 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"