# convert seconds to Hours:Minutes:Seconds & add these amo

#### baillieston

##### Board Regular

would any one be able to help me with the following.
I have a row of data which contains the amount of time in seconds.
e.g 120 or 3600 or 3662

I would like to show these as hours: Minutues: seconds
e.g 120 would be 00:02:00
e.g 3600 would be 01:00:00
e.g 3662 would be 01:01:02

And if possible how would I add these to ensure that the the correct amount showed.

e.g if I had a list of 60 and they all were 00:02:00

I would want to see 01:20:00 as a total and not 00:120:00

Hope I have explained this OK.

Thanks for any help. VBA or formula.

### Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

#### Juan Pablo González

##### MrExcel MVP
Re: convert seconds to Hours:Minutes:Seconds & add these

Use this formula

=A1/(24*60*60)

and format as [hh]:mm:ss

Then, just use a

=SUM(TheRange)

Excel will take care of the hours, minutes and seconds for you.

##### Well-known Member
Re: convert seconds to Hours:Minutes:Seconds & add these

Hello

=d1/24/60/60

format as hh:mm:ss

=sum(d1:d60)

gives 2:00:00

#### baillieston

##### Board Regular
Re: convert seconds to Hours:Minutes:Seconds & add these

Thank you both very much indeed.
Both solutions work a treat.

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,167,698
Messages
5,855,233
Members
431,714
Latest member
SA_Carpenter

### 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.

### Which adblocker are you using?

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

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