+ Reply to Thread
Results 1 to 6 of 6

Convert numbers to time 1212 to 12:12

  1. #1
    Registered User
    Join Date
    01-07-2016
    Location
    Netherlands
    MS-Off Ver
    Mac 2016
    Posts
    2

    Convert numbers to time 1212 to 12:12

    Hello,

    I have lot of data given in numbers, 1212, 1734, 2146, 817.

    Now is there a formula to convert these numbers to time like this: 12:12, 17:34, 21:46, 08:17.

    I can transfer 1450 to 14:30 by the formula Data/100/24 but my data is given like 1430=14:30 and not 1450=14:30...

    Thank you in advance.

    Kind regards,

    Stefan
    Last edited by Stefan-1211; 01-07-2016 at 12:23 PM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,651

    Re: Convert numbers to time 1212 to 12:12

    Try:
    =TIMEVALUE(LEFT(A1,LEN(A1)-2)&":"&RIGHT(A1,2))
    with A1 contains text
    Quang PT

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Convert numbers to time 1212 to 12:12

    Try

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

    That will return as a TEXT string, If you need it to be a real useable time, then try
    =TEXT(A1,"00\:00")+0

  4. #4
    Registered User
    Join Date
    01-07-2016
    Location
    Netherlands
    MS-Off Ver
    Mac 2016
    Posts
    2

    Re: Convert numbers to time 1212 to 12:12

    Thank you both for your quick reply, =TEST(A1,"00\:00") worked for me!

    Thank you, this topic can be closed.

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Convert numbers to time 1212 to 12:12

    You're welcome.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Convert numbers to time 1212 to 12:12

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Convert numbers into a time
    By foxy_420 in forum Excel General
    Replies: 3
    Last Post: 12-05-2014, 09:55 AM
  2. Cant convert dec numbers into time :-(
    By Pingbat in forum Excel General
    Replies: 4
    Last Post: 04-01-2014, 11:48 AM
  3. [SOLVED] Convert numbers to time
    By offline in forum Excel General
    Replies: 3
    Last Post: 10-12-2012, 05:23 AM
  4. Excel 2007 : convert numbers to time
    By slimjen in forum Excel General
    Replies: 2
    Last Post: 03-08-2010, 12:24 PM
  5. Convert numbers to time format
    By kras in forum Excel General
    Replies: 4
    Last Post: 04-15-2007, 04:54 AM
  6. convert numbers to time
    By ditchy in forum Excel General
    Replies: 2
    Last Post: 06-28-2006, 01:25 AM
  7. Replies: 3
    Last Post: 06-16-2006, 01:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1