+ Reply to Thread
Results 1 to 9 of 9

Formula to Convert Time text to Excel and add up column

  1. #1
    Forum Contributor
    Join Date
    09-19-2003
    Posts
    226

    Formula to Convert Time text to Excel and add up column

    Hi
    I've got a column of times in h:m:s:ms. (ms= microseconds)
    The times are text format. I need to convert them into time format and get the total time at the bottom of the column.
    Thanks
    Patish
    Attached Files Attached Files
    Patish

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula to Convert Time text to Excel and add up column

    Can we just make sure that we both understand the term microseconds.

    There are 1,000,000 microseconds in a second.
    Is that indeed what your numbers like the :20, meaning 20 microseconds is at the end of A2?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula to Convert Time text to Excel and add up column

    Please try at B2
    =--SUBSTITUTE(A2,":",".",3)

    or Total time
    =SUMPRODUCT(--SUBSTITUTE(A2:A71,":",".",3))

    custom format [h]:mm:ss.00
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    09-19-2003
    Posts
    226

    Re: Formula to Convert Time text to Excel and add up column

    Hi Richard
    Sorry "ms" is actually millisecond. Does that make a difference?
    Thanks

  5. #5
    Forum Contributor
    Join Date
    09-19-2003
    Posts
    226

    Re: Formula to Convert Time text to Excel and add up column

    Hi Bo_Ry
    Just replied to Richard that the ms is actually milliseconds. Does that make any difference to the formula?
    Tx
    Patish

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula to Convert Time text to Excel and add up column

    The other Q. I had, which may be redundant if Bo_Ry's answer give you what you want, but what do you expect in the millisecond part of the string.

    Suppose the total ended in say 500 ms would you want to see

    01:01:01:500

    or

    01:01:01.5

  7. #7
    Forum Contributor
    Join Date
    09-19-2003
    Posts
    226

    Re: Formula to Convert Time text to Excel and add up column

    Hi Richard
    If it's 500 then :500
    Tx
    Patish

  8. #8
    Registered User
    Join Date
    10-31-2019
    Location
    India
    MS-Off Ver
    2007
    Posts
    8

    Re: Formula to Convert Time text to Excel and add up column

    Hi
    I have a column over 10,000 records of time in excel some are sorted as original time format of excel and some are mentioned as text and some as numbers ex(10.0, 3.30 etc.,)
    in this situation How can i convert the time non standard time formats to a standard time format with out changing the time value.

    I tried the following formulas but not getting correct results;
    1. =TEXT(LEFT(A1,2)&RIGHT(A1,2)/24,"h:mm am/pm")
    2. =IF(ISNUMBER(A1),A1,TIMEVALUE((A1)))

    please suggest formula to resolve this

    Thanks and Regards
    Sandeep Vemula

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,938

    Re: Formula to Convert Time text to Excel and add up column

    Administrative Note:

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Convert Excel text to time duration
    By KrazyKasper in forum Excel General
    Replies: 4
    Last Post: 06-08-2019, 01:15 PM
  2. [SOLVED] Convert Formula which has time value to text value
    By suchetherrah in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-16-2019, 02:23 AM
  3. [SOLVED] Date and Time in column dont convert in Using Text to Columns
    By pick44 in forum Excel General
    Replies: 3
    Last Post: 02-07-2019, 03:56 PM
  4. Excel convert Text time formatted 10h 58m to time so I can sum together
    By slinka in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-04-2016, 10:17 AM
  5. Replies: 2
    Last Post: 11-13-2014, 11:23 AM
  6. [SOLVED] Convert A Column of Time Values to Text
    By Jenn68 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2012, 02:19 PM
  7. convert word text to excel time
    By mat24 in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 04-27-2010, 11:51 AM

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