Hoffman
Board Regular
- Joined
- Oct 19, 2007
- Messages
- 222
- Office Version
- 365
- Platform
- MacOS
Hi all,
Thanks for any help on this easy one.
I need to add time.
The time is only minutes and seconds and needs to show the titles too
for example
A1
02 min 45 sec
A2
04 min 26 sec
A3
I need to add those and have the labels show, so it would produce
07 min 11 sec
I do not need hours just min and sec.
Below is something the great people here once helped me with BUT this includes hours (which I don't need) and was subtracting the two (now I need to add).
Maybe you can edit this to be just min and sec and ADD them.
=HOUR(TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(J67," hrs ",":")," min ",":")," sec",""))-TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(I67," hrs ",":")," min ",":")," sec","")))&" hrs " & MINUTE(TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(J67," hrs ",":")," min ",":")," sec",""))-TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(I67," hrs ",":")," min ",":")," sec","")))&" min " & SECOND(TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(J67," hrs ",":")," min ",":")," sec",""))-TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(I67," hrs ",":")," min ",":")," sec","")))&" sec"
Thanks so much!
Barry
Thanks for any help on this easy one.
I need to add time.
The time is only minutes and seconds and needs to show the titles too
for example
A1
02 min 45 sec
A2
04 min 26 sec
A3
I need to add those and have the labels show, so it would produce
07 min 11 sec
I do not need hours just min and sec.
Below is something the great people here once helped me with BUT this includes hours (which I don't need) and was subtracting the two (now I need to add).
Maybe you can edit this to be just min and sec and ADD them.
=HOUR(TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(J67," hrs ",":")," min ",":")," sec",""))-TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(I67," hrs ",":")," min ",":")," sec","")))&" hrs " & MINUTE(TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(J67," hrs ",":")," min ",":")," sec",""))-TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(I67," hrs ",":")," min ",":")," sec","")))&" min " & SECOND(TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(J67," hrs ",":")," min ",":")," sec",""))-TIMEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(I67," hrs ",":")," min ",":")," sec","")))&" sec"
Thanks so much!
Barry