ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how do I total a column with hours and minutes? SUM doesnt work (https://www.excelbanter.com/excel-worksheet-functions/72124-how-do-i-total-column-hours-minutes-sum-doesnt-work.html)

ken gates

how do I total a column with hours and minutes? SUM doesnt work
 
I have 5 rows of figures which are the result of computing hours and minutes
in each row. I want to total this column and used the formula =SUM(d4:d8)
for the target cell and I get zeros as my answer. No warnings or errors. The
target cell of the sum is formatted to time. What am I doing wrong?

Gary L Brown

how do I total a column with hours and minutes? SUM doesnt work
 
If d4:d8 contains text (which = 0) then sum(d4:d8) will equal 0.
Rmember that formatting doesn't mean anything if the underlying data is not
what you expect it to be.

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"ken gates" wrote:

I have 5 rows of figures which are the result of computing hours and minutes
in each row. I want to total this column and used the formula =SUM(d4:d8)
for the target cell and I get zeros as my answer. No warnings or errors. The
target cell of the sum is formatted to time. What am I doing wrong?


ken gates

how do I total a column with hours and minutes? SUM doesnt work
 
Gary,
Thanks for the response. How do I take these "text" hours and minutes and
make them numeric so I can add them, and then what do I have to do to
convert them back to hours and minutes after the math has been done?

"ken gates" wrote:

I have 5 rows of figures which are the result of computing hours and minutes
in each row. I want to total this column and used the formula =SUM(d4:d8)
for the target cell and I get zeros as my answer. No warnings or errors. The
target cell of the sum is formatted to time. What am I doing wrong?



All times are GMT +1. The time now is 04:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com