ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   convert duration (hr:mn:sec) in to equivalent sec (https://www.excelbanter.com/excel-discussion-misc-queries/23573-convert-duration-hr-mn-sec-equivalent-sec.html)

pg

convert duration (hr:mn:sec) in to equivalent sec
 
I have excel 2002. I want to convert duration (hr:mn:sec) in to equivalent
seconds. How do I acheive it? The duration (hr:mn:sec) is given in one cell.


Biff

Hi!

Just multiply by 86400:

A1 = 10:12:05
B1 = A1*86400

Format the cell as GENERAL

OR, just format cell A1 as :[ss]

Biff

"pg" wrote in message
...
I have excel 2002. I want to convert duration (hr:mn:sec) in to equivalent
seconds. How do I acheive it? The duration (hr:mn:sec) is given in one
cell.




pg

Dear Biff,
Thank you very much for your help, very much appreciated. But I wonder why
it is not listed in MS help for excel?

"Biff" wrote:

Hi!

Just multiply by 86400:

A1 = 10:12:05
B1 = A1*86400

Format the cell as GENERAL

OR, just format cell A1 as :[ss]

Biff

"pg" wrote in message
...
I have excel 2002. I want to convert duration (hr:mn:sec) in to equivalent
seconds. How do I acheive it? The duration (hr:mn:sec) is given in one
cell.






All times are GMT +1. The time now is 05:57 AM.

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