+ Reply to Thread
Results 1 to 11 of 11

convert word text to excel time

  1. #1
    Registered User
    Join Date
    04-27-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    5

    convert word text to excel time

    Hi

    I'm trying to convert an entry copied from word into excel and turn it into time. E.g 28.43 needs to reflect as 28 minutes and 43 seconds (28:43) or 64.45 needs to 1hour 4 mins and 45 seconds (01:04:45) , I then need to identify those individual entries under 5 minutes.

    Any help would be most appreciated

    Thanks

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: convert word text to excel time

    Try:

    =TIME(0,INT(A1),MOD(A1,1))

    Where A1 contains original.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-27-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: convert word text to excel time

    thanks for the quick response,

    no joy i'm afraid, it changed 28.43 to 12:28am

    I formatted the output cell to custom (hh:mm:ss) and it read 00:28:00

    anything else i can try?
    cheers

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: convert word text to excel time

    The formula is correct except that the final part should read MOD(A1,1)*100 - you must simply apply an appropriate time format to your cells, eg: [hh]:mm:ss

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: convert word text to excel time

    Thanks DO, forgot that part of *100.

  6. #6
    Registered User
    Join Date
    04-27-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: convert word text to excel time

    Thanks,
    I've added the extra info to the formula that now reads =TIME(0,INT(A1),MOD(A1,1))*100

    I've formatted the output cell to [hh]:mm:ss

    The original cell is text A1 = 28.43

    The output is still a little odd - 46:40:00

    Any suggestions on where i'm going wrong?

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: convert word text to excel time

    =time(0, int(a1), mod(a1,1)*100)
    Entia non sunt multiplicanda sine necessitate

  8. #8
    Registered User
    Join Date
    04-27-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: convert word text to excel time

    That has worked, thanks very much.

    Why was the spacing in the formula so important?

    thanks

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: convert word text to excel time

    It's not the spacing, it's the location of the *100.

    in your formula you are multiplying all of TIME(0,INT(A1),MOD(A1,1)) by 100

    The actual formula multiplies only MOD(A1,1) by 100

  10. #10
    Registered User
    Join Date
    04-27-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: convert word text to excel time

    It makes sense now, many thanks to you all this will save me so much time...

    cheers

  11. #11
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: convert word text to excel time

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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