Trying to add cells in an Excel spreadsheet that are formated by HH:MM:SS. When totaling I get strange results. When going over 24 hours I'd like it to display Days:HH:MM:SS. Is this possible?
Format > Cells, on the Numbers tab, choose Custom from the left column, then type in
[attn][d] hh:mm:ss[/attn]
Or, if you'd like to see the total number of hours, type in
[attn][h]:mm:ss[/attn]
The brackets around "[h]" tell Excel to display the total number of hours, not just the remainder after converting 24-hour periods to days.
Example:[tt]
20:00:00
+ 6:00:00
2:00:00 [/tt]when formatted as hh:mm:ss, because the first 24 hours count as one day, and that leaves 2 hours.
BUT
[tt]
20:00:00
+ 6:00:00
26:00:00 [/tt]when formatted as [h]:mm:ss
The answer is actually always the same, you are only changing how it is displayed.
See faq68-5827, "Why do Dates and Times seem to be so much trouble?" for more details on how Excel deals with times.
[tt]_____
[blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]
Help us help you. Please read FAQ181-2886 before posting.
Those are both good threads but I don't think it answered my question.
Col A has beginning time
Col B has ending time
Col C has the difference between the two (and is formatted correctly)
Now I want to total column C. This may add up to 700 hours but I can't get it to look like 29 days & so many hours.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.