+ Reply to Thread
Results 1 to 6 of 6

Sum duration times in h:mm:ss

Hybrid View

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Post Sum duration times in h:mm:ss

    Greetings Gurus,

    I am trying trying to calculate the amount of time students view videos. I understand I should use [h]:mm:ss but excel continues to convert entries such as 0:14:59 (0 hours, 14 minutes, 59 seconds) to 12:14:49 PM both in the cell and the function bar.

    The problem gets complicated because I have entered the data with two different formats; some in h:mm and some in h:mm:ss'
    1) Is there an easy way to sum the duration time so it accurately reflects total hours:minutes:seconds?
    2) Do I need to reformat or re-enter data to make it work?
    3) If so, is there a macro to do it?

    This has been a bear, (40 students by 30 videos) all hand coded. There's gotta be a better way.

    Thanks!

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,936

    Re: Sum duration times in h:mm:ss

    Could you post some sample data in a worksheet?

  3. #3
    Registered User
    Join Date
    01-28-2014
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Sum duration times in h:mm:ss

    Thanks for responding BadlySpelledBuoy,

    See the attached for a partial data sample

    Notice these are not start and end times, they are total duration of viedo viewing in hours minutes seconds. Some cells are formated hh:mm some are hh:mm:ss

    I've been told I must convert to decimal minutes to analyze the data in a different statistical package. In any case, it looks like I have to reenter all data in a consistent hh:mm:ss format.

    I have my work cut out for me.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-20-2013
    Location
    Las Vegas, NV
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: Sum duration times in h:mm:ss

    If cell A1 is your start Time, and B1 is your End time:

    =TEXT(B1-A1,"h:mm:ss")

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,936

    Re: Sum duration times in h:mm:ss

    Have a look at the attached. Simply a case of altering the cell formatting (notes included in the file).
    No re-entering of data required.

    If this is not what you need, or you require help changing the data to another format for further analysis elsewhere, let me know.

    EDIT: Row 3 is just a carbon copy of row 2 to show you that simple re-formatting works. If you format row 2 the same you'll get the same result so it's not like you have to recreate new rows for each student.

    BSB.
    Attached Files Attached Files
    Last edited by BadlySpelledBuoy; 01-29-2014 at 01:27 PM.

  6. #6
    Registered User
    Join Date
    01-28-2014
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Sum duration times in h:mm:ss

    Thanks BSB but . . .

    See the attached for notes. I just finished re-entering all data by hand, didn't see anyway around it since I had a mix of [h]:mm:ss and h:mm formating.

    All is well in the universe ;-)
    Attached Files Attached Files

+ 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] How do I calculate duration between two dates and times in excel?
    By Robin CSM002 in forum Excel General
    Replies: 4
    Last Post: 05-09-2014, 01:21 AM
  2. [SOLVED] Formula: To calculate duration between two times, if duration is over 6hours subtract 30mi
    By MattBarnes7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2013, 03:22 PM
  3. [SOLVED] Subtract Dates & Times From Multiple Cells To Get Duration
    By sshot1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-20-2012, 10:34 AM
  4. Calculate duration (h:mm) between two dates/times
    By Jetfree in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-20-2011, 09:51 PM
  5. Adding a series of duration times
    By Tiresias in forum Excel General
    Replies: 7
    Last Post: 03-30-2009, 12:54 AM

Tags for this Thread

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