ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   converting time (https://www.excelbanter.com/excel-worksheet-functions/167958-converting-time.html)

Andrew@rushington[_2_]

converting time
 
how can i convert a cell formatted as hh:mm:ss to seconds only. ie 00:02:00
returns 120 secs

David Biddulph[_2_]

converting time
 
=A1*24*3600 and format as number or general.
--
David Biddulph

"Andrew@rushington" wrote in
message ...
how can i convert a cell formatted as hh:mm:ss to seconds only. ie
00:02:00
returns 120 secs




Andrew@rushington[_2_]

converting time
 
good old simple mathmatics wins the day!! Thanks

"David Biddulph" wrote:

=A1*24*3600 and format as number or general.
--
David Biddulph

"Andrew@rushington" wrote in
message ...
how can i convert a cell formatted as hh:mm:ss to seconds only. ie
00:02:00
returns 120 secs






All times are GMT +1. The time now is 12:30 AM.

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