EASY time adding question

Hoffman

Board Regular
Joined
Oct 19, 2007
Messages
220
Office Version
  1. 365
Platform
  1. 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
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Your welcome, Im pleased you found an answer here!

Best Wishes!
 
Upvote 0
Your welcome, Im pleased you found an answer here!

Best Wishes!

Sorry to bother you again. After some consideration I may need the time to look a bit differently but same exact concept.

before it would say
A1
02 min 45 sec

A2
04 min 26 sec


Instead I need it to look like

A1
2:45

A2
4:26

A3
7:11

Could you help one more time? Same thing just instead of the words min and sec, it is written with a colon.

UPDATE: I think I got it by going into CUSTOM but it looks like this
02:45

is there a way for it to look like
2:45 (without the leading zero)

Thanks

Bary
 
Upvote 0
Sorry to bother you again. After some consideration I may need the time to look a bit differently but same exact concept.

before it would say
A1
02 min 45 sec

A2
04 min 26 sec


Instead I need it to look like

A1
2:45

A2
4:26

A3
7:11

Could you help one more time? Same thing just instead of the words min and sec, it is written with a colon.

UPDATE: I think I got it by going into CUSTOM but it looks like this
02:45

is there a way for it to look like
2:45 (without the leading zero)

Thanks

Bary
custom format as h:ss or h:s
If you want running minutes more than 60, wrap the minutes indicator in square brackets
[mm]:ss, [m]:ss, [m]:s.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,927
Messages
6,122,309
Members
449,080
Latest member
jmsotelo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top