#1   Report Post  
Posted to microsoft.public.excel.misc
jimbob
 
Posts: n/a
Default Time Format


I'm importing data (ASCII format) into Excel. There is a col for time
with values like 1411 for 2:11 and so on. When I try to format this col
for "Time" it changes all the values to "0:00". Any Ideas how I can
correct this so that it will format correctly (i.e 1411 to 14:11 or
2:11) Thanks.


--
jimbob
------------------------------------------------------------------------
jimbob's Profile: http://www.excelforum.com/member.php...o&userid=29107
View this thread: http://www.excelforum.com/showthread...hreadid=523723

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme
 
Posts: n/a
Default Time Format

This =TIME(A1/100,MOD(A1,100),0)
gives 2:11 PM
when A1 has value 1411

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"jimbob" wrote in
message ...

I'm importing data (ASCII format) into Excel. There is a col for time
with values like 1411 for 2:11 and so on. When I try to format this col
for "Time" it changes all the values to "0:00". Any Ideas how I can
correct this so that it will format correctly (i.e 1411 to 14:11 or
2:11) Thanks.


--
jimbob
------------------------------------------------------------------------
jimbob's Profile:
http://www.excelforum.com/member.php...o&userid=29107
View this thread: http://www.excelforum.com/showthread...hreadid=523723



  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Time Format

One more...

Add a helper column of formulas like:
=--(TEXT(A1,"00\:00"))

And format it as time.

jimbob wrote:

I'm importing data (ASCII format) into Excel. There is a col for time
with values like 1411 for 2:11 and so on. When I try to format this col
for "Time" it changes all the values to "0:00". Any Ideas how I can
correct this so that it will format correctly (i.e 1411 to 14:11 or
2:11) Thanks.

--
jimbob
------------------------------------------------------------------------
jimbob's Profile: http://www.excelforum.com/member.php...o&userid=29107
View this thread: http://www.excelforum.com/showthread...hreadid=523723


--

Dave Peterson
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
Time format set from VBA Mike Excel Discussion (Misc queries) 3 March 16th 06 03:56 PM
Converting Text to Time format of XX:XX Marck Excel Discussion (Misc queries) 3 February 25th 06 03:48 PM
Adding Time Format jtinne Excel Discussion (Misc queries) 0 November 1st 05 11:05 PM
Adding Time Format Sloth Excel Discussion (Misc queries) 0 November 1st 05 10:46 PM
Converting from time format to decimal and figuring the difference Steve Williams Excel Discussion (Misc queries) 1 July 30th 05 10:10 PM


All times are GMT +1. The time now is 01:19 PM.

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

About Us

"It's about Microsoft Excel"