#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Time Format

Hi

Can anyone tell me how to change the time format of hh:mm:ss to an integer
number.

Thanks
Alec
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Time Format

What integer number would you like?

If you want hhmmss, format it as that, or use =TEXT(A1,"hhmmss") if you want
text formatted that way.
If you want a number of seconds, use =A1*24*60*60 (or =A1*86400), and format
the cell as number or general.
--
David Biddulph

"Alectrical" wrote in message
...
Hi

Can anyone tell me how to change the time format of hh:mm:ss to an integer
number.

Thanks
Alec



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Time Format

Thanks David, that works a treat



"David Biddulph" wrote:

What integer number would you like?

If you want hhmmss, format it as that, or use =TEXT(A1,"hhmmss") if you want
text formatted that way.
If you want a number of seconds, use =A1*24*60*60 (or =A1*86400), and format
the cell as number or general.
--
David Biddulph

"Alectrical" wrote in message
...
Hi

Can anyone tell me how to change the time format of hh:mm:ss to an integer
number.

Thanks
Alec




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Format numbers/time format Pam Excel Discussion (Misc queries) 3 August 1st 07 09:44 PM
Custom Cell format to mimic time format [email protected] Excel Discussion (Misc queries) 6 November 7th 06 09:17 PM
convert time imported as text to time format for calculations batfish Excel Worksheet Functions 3 October 27th 05 11:24 PM
How to format cells in Excel for time in format mm:ss.00 Very Timely Excel Worksheet Functions 0 March 30th 05 07:35 AM
Remove time from a date and time field? Format removes the displa. oaoboc Excel Worksheet Functions 1 February 16th 05 07:20 PM


All times are GMT +1. The time now is 08:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"