#1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default Time format

Can someone help me format some time cells. I need hh:mm:ss.# in two
adjancent cells. i would like to type 123456 and the result come to be
12:34:45.6.
I have tried custom formating, but the simple entry does not happen. I tried
an addon from the net but it will not except the decimal. ineed to be able to
subtract two time to creat a delta time. Manuall input is to time consuming.

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 964
Default Time format

Why would it? One hour in Excel time is 1/24 so if you type
123456 it means that Excel sees it as a very large number of hours
(123456x24).
You would need a macro or a help formula, since you want this to happen
instantly I'd suggest the former

http://www.cpearson.com/excel/DateTimeEntry.htm


scroll down a bit to find the time entry

--


Regards,


Peo Sjoblom

"UH woodmaster" wrote in message
...
Can someone help me format some time cells. I need hh:mm:ss.# in two
adjancent cells. i would like to type 123456 and the result come to be
12:34:45.6.
I have tried custom formating, but the simple entry does not happen. I
tried
an addon from the net but it will not except the decimal. ineed to be able
to
subtract two time to creat a delta time. Manuall input is to time
consuming.

Thank you



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default Time format

Thank you for your help. i had found this program and do know how to modify
the code to fix my problem. I do not know how to install into excelor open a
vba code in excel.


"Peo Sjoblom" wrote:

Why would it? One hour in Excel time is 1/24 so if you type
123456 it means that Excel sees it as a very large number of hours
(123456x24).
You would need a macro or a help formula, since you want this to happen
instantly I'd suggest the former

http://www.cpearson.com/excel/DateTimeEntry.htm


scroll down a bit to find the time entry

--


Regards,


Peo Sjoblom

"UH woodmaster" wrote in message
...
Can someone help me format some time cells. I need hh:mm:ss.# in two
adjancent cells. i would like to type 123456 and the result come to be
12:34:45.6.
I have tried custom formating, but the simple entry does not happen. I
tried
an addon from the net but it will not except the decimal. ineed to be able
to
subtract two time to creat a delta time. Manuall input is to time
consuming.

Thank you




  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 964
Default Time format

Right click the sheet tab where you want this and select view code, paste it
in there.
Of course you need to change this part

Range("A1:A10")

to the range you need e.i.

Range("C2:C500")

if you enter times in C2:C500

--


Regards,


Peo Sjoblom

"UH woodmaster" wrote in message
...
Thank you for your help. i had found this program and do know how to
modify
the code to fix my problem. I do not know how to install into excelor open
a
vba code in excel.


"Peo Sjoblom" wrote:

Why would it? One hour in Excel time is 1/24 so if you type
123456 it means that Excel sees it as a very large number of hours
(123456x24).
You would need a macro or a help formula, since you want this to happen
instantly I'd suggest the former

http://www.cpearson.com/excel/DateTimeEntry.htm


scroll down a bit to find the time entry

--


Regards,


Peo Sjoblom

"UH woodmaster" wrote in message
...
Can someone help me format some time cells. I need hh:mm:ss.# in two
adjancent cells. i would like to type 123456 and the result come to be
12:34:45.6.
I have tried custom formating, but the simple entry does not happen. I
tried
an addon from the net but it will not except the decimal. ineed to be
able
to
subtract two time to creat a delta time. Manuall input is to time
consuming.

Thank you






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
Adding time in 24 hour format to produce hours in decimal format Hercdriver Excel Worksheet Functions 11 December 29th 09 02:06 AM
Convert time stored as decimalised number to time format Emma New Users to Excel 1 April 29th 08 03:06 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
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 07:15 AM.

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

About Us

"It's about Microsoft Excel"