+ Reply to Thread
Results 1 to 5 of 5

Converting a number to time

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Converting a number to time

    Hi,

    I have a spreadsheet that currently uses a number of minutes (eg 60 or 90) to make a calculation. In a different cell, I have the same value but in time format (01:00:00 or 01:30:00) to make a different calculation.

    I would like to only have to enter the number of minutes and have the time value to reflect this. At present I have to manually enter both values.

    Is there a way I can convert 60 to 01:00:00 or 90 to 01:30:00 or any other equivalent of minutes to the corresponding hh:mm:ss?

    Many thanks,
    Pie

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: Converting a number to time

    Write =A1/1440 and format as time
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    08-30-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Converting a number to time

    Fantastic, many thanks for this :-) I now have a much more efficient spreadsheet :-)

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Converting a number to time

    60/1440 formatted as time hh:mm:ss
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Converting a number to time

    @ PieOPah

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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