+ Reply to Thread
Results 1 to 8 of 8

Converting time.

  1. #1
    Registered User
    Join Date
    02-09-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    15

    Lightbulb Converting time.

    I want to convert the time format. Don't know how to explain, will try to explain in the best possible manner.

    Actual
    1 hrs: 60 mins
    If a programmer spend 1:45 min on work, his occupancy 1.75

    Required.
    1 hrs = 100 mins

    what shud I do to get the same result.
    Last edited by cool.chatbot; 02-09-2011 at 03:43 AM. Reason: Solved

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,218

    Re: Converting time.

    Try this

    With Column A formatted "hh:mm" and Column B formatted "General" or "Number" Decimal places to suit (2)

    In B2

    =A2*24

    Drag/Fill Down

    Hope this helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Valued Forum Contributor Rahul Nagar's Avatar
    Join Date
    09-18-2008
    Location
    nasik
    MS-Off Ver
    Excel 2003
    Posts
    465

    Re: Converting time.

    Hi

    Attach some sample file for more details.
    I am not understand how 1:45 min on work, his occupancy 1.75.
    Is 1.75 is amount or some thing else.
    Last edited by Rahul Nagar; 02-09-2011 at 02:59 AM.
    __________________
    Regards
    Rahul Nagar
    Founder of www.myshortcutkeys.com.


    If you get the answer of your questions then please click EDIT in your original post then click on GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
    Also
    If you are satisfied by any members response to your problem please consider using the scales icon top right of thier post to show your appreciation.

  4. #4
    Registered User
    Join Date
    02-09-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Converting time.

    Hi Marcol,

    You are a genius, would love to have you as my mentor.
    Last edited by cool.chatbot; 02-09-2011 at 03:36 AM. Reason: Solved

  5. #5
    Valued Forum Contributor Rahul Nagar's Avatar
    Join Date
    09-18-2008
    Location
    nasik
    MS-Off Ver
    Excel 2003
    Posts
    465

    Re: Converting time.

    Quote Originally Posted by Marcol View Post
    Try this

    With Column A formatted "hh:mm" and Column B formatted "General" or "Number" Decimal places to suit (2)

    In B2

    =A2*24

    Drag/Fill Down

    Hope this helps
    Hi Marcol
    The answer is right...can you please let me know the logic for the same.

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,218

    Re: Converting time.

    @ Rahul Nagar

    I think the phrasing of the OPs' question is a little confusing. He means

    1hr 45mins = 1.75hrs

    Time and date values are based on units of one day therefore

    1hr 45mins = 0.0729166666666667 days so multiply by 24 to get hours

  7. #7
    Registered User
    Join Date
    02-09-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Converting time.

    Quote Originally Posted by Marcol View Post
    @ Rahul Nagar

    I think the phrasing of the OPs' question is a little confusing. He means

    1hr 45mins = 1.75hrs

    Time and date values are based on units of one day therefore

    1hr 45mins = 0.0729166666666667 days so multiply by 24 to get hours
    Thanks for the clarification...

  8. #8
    Valued Forum Contributor Rahul Nagar's Avatar
    Join Date
    09-18-2008
    Location
    nasik
    MS-Off Ver
    Excel 2003
    Posts
    465

    Re: Converting time.

    Thanks for your reply

+ 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