ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   converting seconds in hh:mm:ss (https://www.excelbanter.com/excel-discussion-misc-queries/81872-converting-seconds-hh-mm-ss.html)

Xavie

converting seconds in hh:mm:ss
 
Hi,

I need to know how to change 84587 seconds in hh:mm:ss.
I try 84587/60 and I got 1409.7833
What's the right thing that I must do ??

chillihawk

converting seconds in hh:mm:ss
 
It's a good question this one. Presume you have the number of seconds
to convert in cell N13 then put this formula in cell N14

=INT(N13/3600)&":"&INT(((N13/3600)-INT(N13/3600))*60)&":"&INT((((N13/3600)-INT(N13/3600))*60-INT(((N13/3600)-INT(N13/3600))*60))*60)

I imagine this could be done more succinctly, I'd be interested to see
other answers.

HTH


Niek Otten

converting seconds in hh:mm:ss
 
=A1/24/60/60

Format as Time

--
Kind regards,

Niek Otten


"Xavie" wrote in message ...
Hi,

I need to know how to change 84587 seconds in hh:mm:ss.
I try 84587/60 and I got 1409.7833
What's the right thing that I must do ??




Xavie

converting seconds in hh:mm:ss
 
Thanks, it works.

Do you know what formula can I use to multiply these minute to amount ??
I have 1:54:30*2.18

What's the right way to do it ?

"chillihawk" wrote:

It's a good question this one. Presume you have the number of seconds
to convert in cell N13 then put this formula in cell N14

=INT(N13/3600)&":"&INT(((N13/3600)-INT(N13/3600))*60)&":"&INT((((N13/3600)-INT(N13/3600))*60-INT(((N13/3600)-INT(N13/3600))*60))*60)

I imagine this could be done more succinctly, I'd be interested to see
other answers.

HTH




All times are GMT +1. The time now is 05:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com