+ Reply to Thread
Results 1 to 5 of 5

Convert a number into time

  1. #1
    Registered User
    Join Date
    08-30-2013
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    2

    Convert a number into time

    I exported a report from Crystal to Excel. The times came over as numbers. How do I convert the numbers into time.


    Example: 753 to 7:53
    1426 to 14:26

    Thankyou

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Convert a number into time

    Hi
    try =(LEFT(A1,LEN(A1)-2)&":"&RIGHT(A1,2))+0 and format as h:mm

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Convert a number into time

    1 way

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

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    08-30-2013
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Convert a number into time

    I have tried both of the suggestions and I either get "value" in the box or "0:00". I feel I am overriding the existing # when I type the formula in. I feel stupid...

  5. #5
    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
    52,929

    Re: Convert a number into time

    Both suggestions worked fine for me.

    I feel I am overriding the existing # when I type the formula in
    You need to copy the suggested forumla into a blank cell, it assumes that your data is in cell A1, you cannot copy the formula over the top of the data, it misy go into it's own cell

    Hope hat helps?
    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 decimal number to time : convert 1,59 (minutes, dec) to m
    By agenda9533 in forum Excel General
    Replies: 22
    Last Post: 09-15-2013, 10:43 AM
  2. Convert number to time
    By NCSemon in forum Excel General
    Replies: 14
    Last Post: 07-09-2013, 10:13 AM
  3. convert number to time
    By PixelPaul in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2011, 09:55 PM
  4. Convert number to time.
    By Floyd Forbes in forum Excel General
    Replies: 6
    Last Post: 08-08-2006, 05:25 PM
  5. [SOLVED] convert a number to time
    By rbus in forum Excel General
    Replies: 3
    Last Post: 01-14-2005, 02:06 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