+ Reply to Thread
Results 1 to 4 of 4

Converting hours:minutes:seconds to just minutes

  1. #1
    Dan Vagle
    Guest

    Converting hours:minutes:seconds to just minutes

    I have a bunch of data that is in the following format: hours:minutes:seconds

    For example:
    3:23:14
    5:20:45
    8:10:20

    How can i convert this into just minutes.

    Thank You Very Much.

  2. #2
    Dave Peterson
    Guest

    Re: Converting hours:minutes:seconds to just minutes

    You can multiply by 24*60

    =A1*24*60

    And format the result as General (or Number--just not time).

    Or maybe just give it a custom format of [mm]
    (but fractions of minutes will be hidden by the format)

    Dan Vagle wrote:
    >
    > I have a bunch of data that is in the following format: hours:minutes:seconds
    >
    > For example:
    > 3:23:14
    > 5:20:45
    > 8:10:20
    >
    > How can i convert this into just minutes.
    >
    > Thank You Very Much.


    --

    Dave Peterson

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    orMore long winded

    =ROUND(HOUR(A14)*60+MINUTE(A14)/24,0)

  4. #4
    Biff
    Guest

    Re: Converting hours:minutes:seconds to just minutes

    Hi!

    Format as [mm]:ss to get the result as time --- 203:14

    Or, to get the result as a decimal number:

    A1*1440 --- 203.2333

    Biff

    "Dan Vagle" <Dan [email protected]> wrote in message
    news:[email protected]...
    >I have a bunch of data that is in the following format:
    >hours:minutes:seconds
    >
    > For example:
    > 3:23:14
    > 5:20:45
    > 8:10:20
    >
    > How can i convert this into just minutes.
    >
    > Thank You Very Much.




+ 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