Closed Thread
Results 1 to 31 of 31

Excel 2007 : Convert number of minutes to hours and minutes

  1. #1
    Registered User
    Join Date
    02-05-2009
    Location
    Indianapolis, IN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Convert number of minutes to hours and minutes

    I am trying to create a spreadsheet showing the time it takes to walk various distances at various speeds. I want the result to be shown as hours and minutes. I can get hours and decimal portions of hours, 90 minutes as 1.5 hours. I want the result in hours and minutes, 90 minues as 1 hr. 30 minutes--1:30.

    Is there an easy way to do this?

  2. #2
    Forum Contributor
    Join Date
    10-11-2007
    Location
    Sweden
    MS-Off Ver
    365
    Posts
    251

    Re: Convert number of minutes to hours and minutes

    See attached workbook

    There is one problem. If the answer is for example 1 hour, i get this value: 1 hr. -1,33226762955019E-14 minutes. I "Evaluated" the formula in Excel 2007 and the result is correct in the "Evaluate formula" but it still gives me -1,33226762955019E-14 in the cell.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Convert number of minutes to hours and minutes

    Hello Mike,

    If you have the number 90 in A1 then this formula in B1 will convert to 1:30

    =A1/1440

    format B1 as h:mm

  4. #4
    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 number of minutes to hours and minutes

    Welcome to the forum.

    If A1 contains the time in decimal minutes (e.g., 90), then to see the time in hours and minutes, =A1/1440 and format as h:mm

    If A1 contains the time in decimal hours (e.g., 1.5), then to see the time in hours and minutes, =A1/24 and format as h:mm
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    06-08-2012
    Location
    Dallas, Tx
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Convert number of minutes to hours and minutes

    Quote Originally Posted by daddylonglegs View Post
    Hello Mike,

    If you have the number 90 in A1 then this formula in B1 will convert to 1:30

    =A1/1440

    format B1 as h:mm
    Thanks this was very helpful!!

  6. #6
    Registered User
    Join Date
    06-28-2012
    Location
    Eureka, CA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Convert number of minutes to hours and minutes

    How about converting 1:20 to minutes? Does anyone know if there is a formula for that?

  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 number of minutes to hours and minutes

    You can just format it as [m] to see minutes.

  8. #8
    Registered User
    Join Date
    06-28-2012
    Location
    Eureka, CA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Convert number of minutes to hours and minutes

    I am not sure exactly where to format as[m]. I assume format cells, and then ? I am running 2007. Thank you.

  9. #9
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: Convert number of minutes to hours and minutes

    Use the value *1440 to see minutes.
    Format as general or number

  10. #10
    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 number of minutes to hours and minutes

    Home tab, Format > Format Cells, Number tab, click Custom, and in the Type box, paste [m]

  11. #11
    Registered User
    Join Date
    06-28-2012
    Location
    Eureka, CA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Convert number of minutes to hours and minutes

    That was what I had already tried, and it did not work. I get a large white cross symbol.

  12. #12
    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 number of minutes to hours and minutes

    Large white cross?

  13. #13
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: Convert number of minutes to hours and minutes

    You get the cross after doing what shg posted or what I posted?

  14. #14
    Registered User
    Join Date
    06-28-2012
    Location
    Eureka, CA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Convert number of minutes to hours and minutes

    After shg. I am not sure how to use your *1440. I tried 1:20*1440, but that did not work either. Will you please walk me through those steps? Thanks~

  15. #15
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: Convert number of minutes to hours and minutes

    You need 1:20 in one cell, say A2, and *1440 in the other cell, say B2
    So:
    A2: 1:20
    B2: =A2*1440

    Then format B2 into general or numeric

    For shg's suggestion, what you do is say have:

    A2: 1:20
    Then go to format cells, CUSTOM, then remove whatever is in the line and write [m]. Click OK

  16. #16
    Registered User
    Join Date
    06-28-2012
    Location
    Eureka, CA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Convert number of minutes to hours and minutes

    Yes! Thank you. Why does 1440 work?

  17. #17
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: Convert number of minutes to hours and minutes

    the time value in excel is in a day format.
    So you *24 to get it into hours, then *60 to get it into minutes

  18. #18
    Registered User
    Join Date
    06-28-2012
    Location
    Eureka, CA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Convert number of minutes to hours and minutes

    Yeah! Thank you.

  19. #19
    Registered User
    Join Date
    05-04-2013
    Location
    Coquille, Oregon
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Convert number of minutes to hours and minutes

    Thank you to who ever ask and solved this I have been pulling my hair out. Yes

    Brenda

  20. #20
    Registered User
    Join Date
    05-14-2013
    Location
    Pune,India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Convert number of minutes to hours and minutes

    if i have 1939 minutes, have converted into as 1939/1440=1.3
    now what to do...

  21. #21
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Excel 2007 : Convert number of minutes to hours and minutes

    Ashish,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  22. #22
    Registered User
    Join Date
    06-02-2013
    Location
    pune
    MS-Off Ver
    Microsoft Office 2007, 2003
    Posts
    1

    Re: Convert number of minutes to hours and minutes

    Quote Originally Posted by dip11 View Post
    You need 1:20 in one cell, say A2, and *1440 in the other cell, say B2
    So:
    A2: 1:20
    B2: =A2*1440

    Then format B2 into general or numeric

    For shg's suggestion, what you do is say have:

    A2: 1:20
    Then go to format cells, CUSTOM, then remove whatever is in the line and write [m]. Click OK
    but i want total days also

  23. #23
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Excel 2007 : Convert number of minutes to hours and minutes

    pankaj,

    Check post 21.

  24. #24
    Registered User
    Join Date
    06-24-2014
    Location
    india
    MS-Off Ver
    2007
    Posts
    1

    Re: Excel 2007 : Convert number of minutes to hours and minutes

    but i am having a problem in converting a number to hours.. for eg 205 to 205:00 hr .. please any help would be nice

  25. #25
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Excel 2007 : Convert number of minutes to hours and minutes

    Gaurangtalati welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  26. #26
    Registered User
    Join Date
    10-01-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    2010
    Posts
    1

    Re: Convert number of minutes to hours and minutes

    thanks, I have been looking for ages. this is great!

  27. #27
    Registered User
    Join Date
    11-17-2014
    Location
    Kohat, Pakistan
    MS-Off Ver
    2007
    Posts
    1

    Re: Convert number of minutes to hours and minutes

    thanks i get it

  28. #28
    Registered User
    Join Date
    05-30-2015
    Location
    Kennewick, WA
    MS-Off Ver
    2010
    Posts
    2

    Re: Convert number of minutes to hours and minutes

    daddylonglegs,

    Please tell me how dividing 1440 into minutes produces the result.

    Thanks,
    Mike

  29. #29
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Convert number of minutes to hours and minutes

    Quote Originally Posted by mikeywhite View Post
    Please tell me how dividing 1440 into minutes produces the result.
    Excel time is stored as a decimal fraction of a day. There are 1440 minutes in a day: 24*60.

    For example, if you enter 1 hr 30 min in the form 1:30 (90 min), the decimal value is 0.0625, and 0.0625*1440 is indeed 90.

    (You can see the decimal value of Excel time by formatting the cell as Number.)

    Caveat: Because of the way that Excel stores numeric values (64-bit binary floating-point), most decimal fractions cannot be represented exactly. Consequently, if you want an integer number of minutes, it is prudent to explicitly round the calculation to an integer. For example, if the Excel time is in A1, use ROUND(A1*1440,0) to calculate integer minutes instead of simply A1*1440.

  30. #30
    Registered User
    Join Date
    05-30-2015
    Location
    Kennewick, WA
    MS-Off Ver
    2010
    Posts
    2

    Re: Convert number of minutes to hours and minutes

    Thanks Joe!

  31. #31
    Registered User
    Join Date
    06-05-2015
    Location
    Lancashire
    MS-Off Ver
    2007
    Posts
    1

    Re: Excel 2007 : Convert number of minutes to hours and minutes

    Just one addition. If the hrs exceed 24, then go to format cells, CUSTOM, remove whatever is in the Type: box and write [h]:mm .

    Note to Admin. Whilst the admin point of not posting on old posts is valid, wouldn't having multiple threads with the same title be even more confusing (in particular post #20)? The title of the thread indicates what it is about, similar questions relating to the same can surely be tolerated at least.

    Please don't flame me for this, saying it should go somewhere else as I feel it is particularly relevant to some of the posts on this thread.

Closed 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