How to sum and substract hours, minutes and seconds

G

Guest

Hello,
I'm searching for a function that count hours, minutes and seconds. When I
use SUM to count 18:45 and 16.30 it keep giving me 11:15 as a result,
although when I highlight 18:45 and 16.30 it shows that the sum is 35:15 in
the bar bellow. Any suggestions?
 
P

Pete_UK

You need to format the cell with the result in as Custom --> [h]:mm:ss.
The square brackets around the hours prevent these from being truncated
if they exceed 24.

Hope this helps.

Pete
 
D

David Biddulph

Rana said:
Hello,
I'm searching for a function that count hours, minutes and seconds. When I
use SUM to count 18:45 and 16.30 it keep giving me 11:15 as a result,
although when I highlight 18:45 and 16.30 it shows that the sum is 35:15
in
the bar bellow. Any suggestions?

Format the answer cell as [h]:mm (or [h]:mm:ss if you want to show the zero
seconds too).

And I trust that when you've said 16.30 you meant to say 16:30?
 
G

Guest

Stefi, Pete_UK and David Biddulph,

Thanks for your replyies, that was helpful.
And David, yes, I meant 16:30

Thanks again,
Rana

David Biddulph said:
Rana said:
Hello,
I'm searching for a function that count hours, minutes and seconds. When I
use SUM to count 18:45 and 16.30 it keep giving me 11:15 as a result,
although when I highlight 18:45 and 16.30 it shows that the sum is 35:15
in
the bar bellow. Any suggestions?

Format the answer cell as [h]:mm (or [h]:mm:ss if you want to show the zero
seconds too).

And I trust that when you've said 16.30 you meant to say 16:30?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top