Excel Formula for adding training times.

K

kilomike1

Does anyone know of a formula to add cells with training times in a
hour+minute format? Example: Cell C1 is 1+12 (1 hour and 12 minutes traning)
and cell C2 is 0+55 (55 minutes of training) equals cell C3 3+07 (3 hours and
7 minutes total training (i.e.: 1+12 and 0+55 = 3+07).
 
D

David Biddulph

Replace the + signs with colons.
[And you'll find that 1:12 + 0:55 comes to 2:07, not 3:07.]

If, for some strange reason, you want to leave the + signs in there, you
could do the calculation with =SUBSTITUTE(C1,"+",":")+SUBSTITUTE(C2,"+",":")
and format the result as time.
 
G

Gary''s Student

If you have to use the + instead of the :
then
=LEFT(C1,FIND("+",C1)-1)/24+MID(C1,FIND("+",C1)+1,255)/(24*60)+LEFT(C2,FIND("+",C2)-1)/24+MID(C2,FIND("+",C2)+1,255)/(24*60)

and format C3 as [hh]:mm
 

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