Solved

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

Posted on 2014-11-24
3
650 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:
SimonAdept 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

758 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

22 Experts available now in Live!

Get 1:1 Help Now