+ Reply to Thread
Results 1 to 5 of 5

Help me to convert time ti decimal value

  1. #1
    Registered User
    Join Date
    08-29-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    3

    Angry Help me to convert time ti decimal value

    Dear helper, 1st of all sorry for my bad english as m not so gud in english.

    I have a problem, I use the formula and its work well. But my problem is dis:-
    eg:- in the cell B3 8:00 and C3 8:30
    when i apply formula as given below:
    =(HOUR(C3-B3)*60 MINUTE(C3-B3))/60
    and the result is 0.50
    but i want to get the result as 0.30

    plz advice and help me.. Itz argent

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help me to convert time ti decimal value

    Just use:

    =(C3-B3)

    ...and format as TIME to get time representation. To be specific, your answer of 0.30 is not a valid result, 0:30 would be.

    To get accurate decimal representation, just use

    =(C3-B3)*24

    ...and format that cell as General... result 0.50 which is correct.


    EDIT: Resist the urge from yourself or from others to "invent" new math representations. 0.30 / 24 is the decimal representation for about 18 minutes, not 30.
    Last edited by JBeaucaire; 08-29-2011 at 08:02 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    08-29-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Help me to convert time ti decimal value

    (C3-B3)

    the result {0.50} what i got is true, i agree wit dat. I just want to know dat is there any formula which I can get the result as 0.30.

    Thanks for your valuable reply.

  4. #4
    Registered User
    Join Date
    05-19-2010
    Location
    Ourem, Portugal
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Help me to convert time ti decimal value

    Hi,

    As JBeaucaire said, 0.30 is false result.

    You can get 0:30, wich is a true result or 0.5 wich is also a true result.

    I'm sending you an atached with your values and formula with the 0:30 result.
    Attached Files Attached Files
    Nuno Lopes

  5. #5
    Registered User
    Join Date
    08-29-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Help me to convert time ti decimal value

    Thanks JB N Nlex.. For ur advice.. but Nlex the file u attach i cant download.. But niway thankx

+ 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