LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default convert time in xxxx format to xx:xx

If you want to convert 800 to 08:00 and 1700 to 17:00 you can use this
formula

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

then format the cell as hh:mm



--
Regards,

Peo Sjoblom

"jenn" wrote in message
...
Hi

Thanks that worked for most of the time except I forgot to mention that
there are times that are xxx, like 800, the formula that you gave me add
an
hour to these, will I have to do them separate?

Thanks

"Bob Phillips" wrote:

convert it

=TIME(LEFT(A1,2),RIGHT(A1,2),0)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"jenn" wrote in message
...
Hi,

I have entered all my times as xxxx now I want to be able to use them
with
a
date to calculate the difference between two dates and times so I have
to
change all the times to xx:xx

example: 1200 needs to be 12:00 so I can go 5-jan-07 12:00 - 4-jan-07
8:00,
the times and dates are in different columns

Thanks for your help






 
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
convert 7h 40.80n into time format Todd Excel Worksheet Functions 1 August 9th 06 01:33 AM
adding a ' ie 'xxxx instead of xxxx cclambie Excel Worksheet Functions 6 December 6th 05 04:25 AM
convert time imported as text to time format for calculations batfish Excel Worksheet Functions 3 October 27th 05 11:24 PM
change dots to dashes in an account format (xx.xxxx.xxxx) to xx-xx Michael Excel Discussion (Misc queries) 1 July 1st 05 10:44 PM
Custom Format text XX:XXXX:XX mustard Excel Discussion (Misc queries) 1 February 17th 05 02:50 AM


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