#1   Report Post  
Beege
 
Posts: n/a
Default Time entries

I'd like to enter 3 or digits and have them show in a cell as "time".
Ex 1234 = 12:34; 635 = 6:35. Can you assist. Seems I can do nearly every
other type of "conversion entry" but the one I now need. Thanks,very


  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

One way, using a formula to convert after-the-fact:

=TIME(INT(A1/100),MOD(A1,100),0)

Otherwise you would need a worksheet_change event macro that grabs the data
right after you enter it and converts it using essentially the same "formula"
as above, but written in VBA instead (where the syntax is a bit different).

On Sat, 5 Mar 2005 17:19:02 -0800, "Beege"
wrote:

I'd like to enter 3 or digits and have them show in a cell as "time".
Ex 1234 = 12:34; 635 = 6:35. Can you assist. Seems I can do nearly every
other type of "conversion entry" but the one I now need. Thanks,very


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
Summing Time Pete Excel Discussion (Misc queries) 3 February 8th 05 12:52 PM
mulitiplying time Brad Excel Worksheet Functions 1 February 1st 05 07:15 PM
entering numbers to display a time format Ian Williams/Eazygig Excel Discussion (Misc queries) 1 January 10th 05 11:57 AM
Help - Information with time and date PM Excel Discussion (Misc queries) 4 January 6th 05 08:25 AM
time formatting and time categorizing (vlookup or data validation) MarianneR Excel Worksheet Functions 4 November 18th 04 03:24 PM


All times are GMT +1. The time now is 07:38 PM.

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"