+ Reply to Thread
Results 1 to 5 of 5

Convert text time into hours

  1. #1
    Registered User
    Join Date
    06-26-2014
    Location
    Scotland
    MS-Off Ver
    10
    Posts
    37

    Convert text time into hours

    Hi, I am having trouble with formatting text times into hours worked
    I receive an automated report with the data formatted in hours and minutes as a text
    Example
    160h
    1h 03m
    128h 22m
    9h 30m
    Although I am trying to have the data formatted as hours
    Example
    160h = 160.00
    1h 03m = 1.05
    128h 22m =128.37
    9h 30m = 9.5
    I am sure there is a simple way to do this but I just cant seem to figure it out
    Thank you for any help

    Megan

  2. #2
    Forum Contributor
    Join Date
    02-07-2013
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    290

    Re: Convert text time into hours

    Hi Justmegan93,

    You can setup ugly nested substitute like:
    =--SUBSTITUTE(SUBSTITUTE(A1,"h",":"),"m","")

    Regards,
    Last edited by Khalidngo; 02-11-2016 at 08:11 AM.

  3. #3
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Convert text time into hours

    Use this formula-
    Please Login or Register  to view this content.
    Check Attached
    Attached Files Attached Files
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  4. #4
    Registered User
    Join Date
    06-26-2014
    Location
    Scotland
    MS-Off Ver
    10
    Posts
    37

    Re: Convert text time into hours

    souabhg98 your formula worked perfect!

    Thank you both for replying

  5. #5
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Convert text time into hours

    Glad to know that helped!

    Thanks for your feedback and reputation!!

    If your query is resolved please take a moment to mark this thread as "Solved" from the "Thread Tools" at the top of this page.

+ 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 time into hours formula
    By alfythom in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-16-2015, 10:36 AM
  2. How to convert time (9:15) to time in quarter hours (9.25)
    By Ricco in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-31-2015, 01:20 PM
  3. [SOLVED] Tryin to get time over 24 Hours to convert to hours and tenths.
    By acftgrunt in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-30-2015, 01:57 AM
  4. [SOLVED] enter time in simple text and convert to hours/minutes
    By YanYan in forum Excel General
    Replies: 5
    Last Post: 06-22-2006, 10:10 PM
  5. [SOLVED] time:to convert minutes into hours
    By [email protected] in forum Excel General
    Replies: 4
    Last Post: 06-24-2005, 10:05 AM
  6. Formula To Convert Hours(time) to Numbers
    By stefeb in forum Excel General
    Replies: 4
    Last Post: 05-02-2005, 02:58 PM
  7. [SOLVED] Convert hours and minutes in time format into fractions of hours..
    By Akern in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-21-2005, 10:06 AM

Tags for this Thread

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