# 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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

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

Replies
4
Views
248
Replies
1
Views
93
Replies
2
Views
95
Replies
2
Views
186
Replies
19
Views
404

1,130,336
Messages
5,641,565
Members
417,222
Latest member
Broflovski

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