+ Reply to Thread
Results 1 to 4 of 4

Trouble converting a generic value for time (minutes and seconds) to a time value

  1. #1
    Registered User
    Join Date
    08-09-2016
    Location
    New York
    MS-Off Ver
    16.0 for Mac
    Posts
    2

    Trouble converting a generic value for time (minutes and seconds) to a time value

    Good Day,

    I have a rather large data set that I am working with which includes values that are listed in a minutes/seconds format. The data was pulled from a csv file and is listed in generic text values but I would like to convert the data to be in time value (mm:ss).

    For instance, here are 4 data points that I have:

    Duration
    2:10
    1:00
    0:45
    0:55

    *example... the first point is 2 minutes and 10 seconds.

    When I attempt to sum up the totals or average them out, I am unable to do so since they are not currently listed as mm:ss values. How can I convert them in excel?

    Additionally, I have a rather large data set to work with and will need to put them into a pivot table in order to get the larger total and average (among other key metrics). What value do I need to assign to the column in the pivot table in order to see the figures represented in mm:ss?

    Thank you for your time... Your assistance is much appreciated!
    jwberg95

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Trouble converting a generic value for time (minutes and seconds) to a time value

    Assuming the duration is in column D, you can use this formula in E2 (insert a new column E if you are already using it):

    =VALUE("0:"&D2)

    Format that cell as m:ss, then copy down, and this will convert your text values into times that Excel can work with. If you no longer need the values in column D, then you can fix the values in column E and then delete column D.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-09-2016
    Location
    New York
    MS-Off Ver
    16.0 for Mac
    Posts
    2

    Re: Trouble converting a generic value for time (minutes and seconds) to a time value

    Thanks Pete!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Trouble converting a generic value for time (minutes and seconds) to a time value

    You're welcome.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Understanding time (minutes:seconds)
    By jonasmacs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-16-2012, 06:09 AM
  2. eliminate minutes & seconds from time
    By varshneybhasker in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-04-2012, 05:15 PM
  3. [SOLVED] Subtracting minutes and seconds from time of day
    By thompsy in forum Excel General
    Replies: 12
    Last Post: 05-08-2012, 07:34 AM
  4. Adding Time, Minutes & Seconds
    By critter4511 in forum Excel General
    Replies: 6
    Last Post: 04-03-2012, 06:41 PM
  5. 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
  6. Replies: 4
    Last Post: 01-18-2010, 04:29 AM
  7. Extract Minutes and Seconds from a time value
    By purdue7997 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2009, 09:28 PM
  8. fractions of time to minutes and seconds
    By FRIEL in forum Excel General
    Replies: 3
    Last Post: 10-17-2008, 11:34 AM

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