Time calculations

N

Neville

How can I add two or more sets of hours:minutes:seconds? For example, if I
add 12hr30min00sec to 1hr45min45sec I should get 14hr15min45sec.
 
A

Alan

Try formatting the cell which contains the addition formula as
[hh]:mm:ss
Regards,
Alan.
 
M

Myrna Larson

YOu can add the values if the cells contain the time values 12:30:00 and
1:45:45, but not if they contain the exact text (with hr, min, and sec
embedded) that you show in your message.
 
C

Chip Pearson

If the times are stored as normal Excel times, they just numbers
(representing a fraction of a 24 hour day, 0.25 = 6:00, 0.5 =
12:00, 0.75 = 18:00, etc), so you can simply add them as you
would with regular numbers, using '+' or SUM. Format the result
cell with a custom number format of [hh]:mm or [hh]:mm:ss .


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
Top