+ Reply to Thread
Results 1 to 4 of 4

Length of time to text help

  1. #1
    Registered User
    Join Date
    03-30-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    1

    Length of time to text help

    Hi,

    I've received a file with length of time values in the format: [h]:mm:ss and this is giving me some difficultly in converting the numbers to text.
    Eg what is displayed in cell A1 is
    386:04:00
    referring to 386hrs and 4mins however, what shows in the formula bar is
    16/01/1900 02:04:00

    Is there any way to change this so that 386:04:00 does actually refer to 386hrs and 4mins and 0seconds?

    Many thanks in advance!

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Length of time to text help

    Is it screwing up any of your calculations? Excel's notation in the formula bar is just it's way of storing 386 hours as 16 days and 2 hours. Are there any functional difficulties?

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Length of time to text help

    Enter this formula in B1
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B
    1 386:04:00 386hrs 4min 0sec

    a shorter version
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 06-09-2016 at 04:36 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Length of time to text help

    Or just use a Custom format

    [h]"Hrs" mm"Mins" ss"Secs"

    Also displays 386Hrs 04Mins 00Secs

    (Single 'm' and single 's' to not have leading 0's)

+ 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. Replies: 4
    Last Post: 08-13-2014, 11:03 PM
  2. Replies: 6
    Last Post: 03-08-2012, 10:35 AM
  3. Replies: 6
    Last Post: 02-06-2012, 12:25 PM
  4. Time Calculations:length of time
    By KDaney in forum Excel General
    Replies: 1
    Last Post: 08-23-2010, 12:36 PM
  5. [SOLVED] EXTRACT TEXT FROM TEXT STRING:The names are of variable length
    By carricka in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-08-2005, 06:05 AM
  6. Replies: 1
    Last Post: 04-18-2005, 05:06 PM
  7. Replies: 1
    Last Post: 04-17-2005, 08:10 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