+ Reply to Thread
Results 1 to 11 of 11

Help with converting Timestamp into minutes

  1. #1
    Registered User
    Join Date
    02-09-2020
    Location
    Bangalore, India
    MS-Off Ver
    365 / 2019
    Posts
    6

    Help with converting Timestamp into minutes

    Hi all,

    I am a very novice Excel user and I've just started messing around with building a database of calls taken in a contact center. Would really appreciate any help on this. I need to convert timestamps to minutes. I want any timestamp i post in column A to automatically appear in column B as minutes.

    The time stamps that I have are in a ##H:##M:##S format.

    The issue arises because the time stamp is in 2-3 different types. If the timestamp does not have hours, it only shows up as ##m:##s.. This makes any generic formula I could find to convert it useless as the length of the data varies.

    Here are a few example timestamps, any help would be greatly appreciated!

    0m:4s
    11m:58s
    1h:43m:8s

    This needs to convert to minutes.. Thanks in advance!

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,148

    Re: Help with converting Timestamp into minutes

    are these text format entries
    right click and format as number - do they change

    I assume the minutes do not go above 59m
    but change to Hours
    and are seconds ALWAYS displayed or if exactly 4 mins for example are they shown as
    4m
    or
    4m:0s
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,476

    Re: Help with converting Timestamp into minutes

    Quote Originally Posted by Rythwin View Post
    0m:4s
    11m:58s
    1h:43m:8s

    This needs to convert to minutes.. Thanks in advance!
    You say you want this converted to minutes... whole minutes or decimal minutes? If whole minutes, should we round the seconds normally? always round any seconds up? ignore the seconds completely?

  4. #4
    Registered User
    Join Date
    02-09-2020
    Location
    Bangalore, India
    MS-Off Ver
    365 / 2019
    Posts
    6

    Re: Help with converting Timestamp into minutes

    Quote Originally Posted by etaf View Post
    are these text format entries
    right click and format as number - do they change

    I assume the minutes do not go above 59m
    but change to Hours
    and are seconds ALWAYS displayed or if exactly 4 mins for example are they shown as
    4m
    or
    4m:0s
    They are Text format - Formatting as number does not affect them
    Seconds are always displayed, even if it lands on exactly 4 minutes, it ends up as 4m:0s. I'll post more exact timers below (after my reply)

    Quote Originally Posted by Rick Rothstein View Post
    You say you want this converted to minutes... whole minutes or decimal minutes? If whole minutes, should we round the seconds normally? always round any seconds up? ignore the seconds completely?
    I want to convert it int decimals, up to 4 decimal points - the purpose is to calculate the average time spent on calls so the more accurate the better

    **

    The values going from a 1 second record to a 1 hour record would be as follows:

    0m:5s
    0m:13s
    1m:0s
    12m:3s
    12m:15s
    1h:4m:8s
    1h:11m:47s

    Please do let me know if you need any more information! Thanks again!

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,148

    Re: Help with converting Timestamp into minutes

    edit .........

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,970

    Re: Help with converting Timestamp into minutes

    A little long but,
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Ben Van Johnson

  7. #7
    Registered User
    Join Date
    02-09-2020
    Location
    Bangalore, India
    MS-Off Ver
    365 / 2019
    Posts
    6

    Re: Help with converting Timestamp into minutes

    Quote Originally Posted by protonLeah View Post
    A little long but,
    Please Login or Register  to view this content.
    Thank you so much for that!

    One more request, is it possible to remove the "m" at the end of it? Thanks!!

  8. #8
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,476

    Re: Help with converting Timestamp into minutes

    Quote Originally Posted by protonLeah View Post
    A little long but...
    I believe this shorter formula will also work...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,182

    Re: Help with converting Timestamp into minutes

    One way:

    Please Login or Register  to view this content.

  10. #10
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,476

    Re: Help with converting Timestamp into minutes

    Quote Originally Posted by Phuocam View Post
    One way:

    Please Login or Register  to view this content.
    NICE FORMULA!!!

  11. #11
    Registered User
    Join Date
    02-09-2020
    Location
    Bangalore, India
    MS-Off Ver
    365 / 2019
    Posts
    6

    Re: Help with converting Timestamp into minutes

    Thank you guys! All these commands work, I'll try to learn from them.

    Cheers!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Formula to add minutes to a timestamp
    By wjmj in forum Excel General
    Replies: 3
    Last Post: 07-11-2019, 07:43 PM
  2. [SOLVED] Converting total minutes into hour and minutes in a single corresponding cell
    By paradise2sr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2017, 02:44 AM
  3. [SOLVED] Extracting Only the Minutes from Timestamp
    By fearonc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-04-2014, 05:45 PM
  4. Converting a sum from decimal minutes to minutes & seconds then multiplying by 10
    By sparkyliveson in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-22-2014, 11:53 AM
  5. RE: Converting decimal minutes to hours, minutes and seconds
    By mills49 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-14-2013, 09:14 AM
  6. Converting hours and minutes in military time to minutes
    By Argile79 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-13-2010, 02:42 PM
  7. [SOLVED] converting Days Hours & minutes into just minutes in excel
    By Six Sigma Blackbelt in forum Excel General
    Replies: 5
    Last Post: 04-28-2006, 04:45 PM

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