Calculating duration sum hh:mm:ss

chowell51

New Member
Joined
Nov 6, 2020
Messages
4
Office Version
  1. 365
Platform
  1. MacOS
I am trying to get a sum of time spent on the phone for agents. The format the duration is in is hh:mm:ss when I format the column and do =C2+C3 I get the correct output. When I do =SUM(C2:C55) the sum is 00:00:00. I've tried a few different ways to format and calculate the sum without luck.

Example in (hh:mm:ss)

C1= Charles talk time each day
C2 = 02:45:11
C3 = 03:44:47
=C2+C3 output is 06:29:58
=SUM(C2:C3) output is 00:00:00
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
If the data starts off as times in text format then changing the cell format will not automatically make it a valid time. The fact that it works with C2+C3 but not with SUM() tells me that this is the case with your data.

The easiest way to fix it is with text to columns. Select the cells with times (C2 and C3) then go to the Data tab on the excel ribbon.
Click Text to Columns
In the popup window, click Next then uncheck all boxes.
Click Next again, then click Finish.

The SUM() formula should now work.
 
Upvote 0
Solution
here is an example
 

Attachments

  • Screen Shot 2020-11-06 at 9.37.24 AM.png
    Screen Shot 2020-11-06 at 9.37.24 AM.png
    89.4 KB · Views: 425
Upvote 0
If the data starts off as times in text format then changing the cell format will not automatically make it a valid time. The fact that it works with C2+C3 but not with SUM() tells me that this is the case with your data.

The easiest way to fix it is with text to columns. Select the cells with times (C2 and C3) then go to the Data tab on the excel ribbon.
Click Text to Columns
In the popup window, click Next then uncheck all boxes.
Click Next again, then click Finish.

The SUM() formula should now work.
Ok I'll try that right now.
 
Upvote 0
If the data starts off as times in text format then changing the cell format will not automatically make it a valid time. The fact that it works with C2+C3 but not with SUM() tells me that this is the case with your data.

The easiest way to fix it is with text to columns. Select the cells with times (C2 and C3) then go to the Data tab on the excel ribbon.
Click Text to Columns
In the popup window, click Next then uncheck all boxes.
Click Next again, then click Finish.

The SUM() formula should now work.
It worked, you are the man!! This is the street wise excel knowledge they don't teach you in a tutorial.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,189
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top