Solved

How to sum duration times in (hh:mm:ss) format

Posted on 2014-11-24
3
767 Views
Last Modified: 2014-11-25
Hello again, Experts:

Call-Summary-by-Extension-111-EE-11-24-1I need a formula that will total duration times in hh:mm:ss format.  See sample attached.  Hoping you can help.

Thanks,
Gary - cincinnati
0
Comment
Question by:garyrobbins
3 Comments
 
LVL 18

Accepted Solution

by:
Simon earned 500 total points
ID: 40463387
I can't quickly think of a way to sum the column you specify (it is text), but the "duration in seconds" colums can be easily summed and formatted as hh:mm:ss.
This calculates the total duration for your example worksheet as 102 hours, 29 minutes and 46 seconds
1. Sum and convert to seconds to  days (in Excel, 1 day = 1.0)
=SUM(H2:H226)/60/60/24

2. Then choose custom format for the result cell. This format displays values that exceed one day in hh:mm:ss.
[h]:mm:ss

Edit: On second thoughts, you CAN sum the column you asked for by using an array formula:
{=SUM(VALUE(G2:G226))}
and then formatting as described above [h]:mm:ss

On the Mac I'm sitting at now I have to use Command+Shift+Enter to create the array formula (you can't manually type the curly braces). On Windows it is CTRL+SHIFT+ENTER.
0
 
LVL 23

Expert Comment

by:Michael74
ID: 40463655
First format the cells to be summed to the following

[h]:mm:ss

Then you can just use =SUM(H2:H226).

Ensure that the result cell is also formatted as [h]:mm:ss
0
 

Author Closing Comment

by:garyrobbins
ID: 40464581
Thanks, SimonAdept!
Fast and Simple...

I love EE.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now