Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Gomer
 
Posts: n/a
Default How do I easily format a column to convert input of 120307 to 12:.

I'm trying to reduce the amount of keystrokes a customer needs to enter time
data. Essentially, they want to type only the numbers of an entry of
hh:mm:ss. When using a format built into Excel (non-custom), the system
turns the data into DD/MM/YY hh:mm:ss, coming up with an incorrect hour ,
minute, second conversion. any ideas?
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Preformat the cells as text prior to entry. In fact, the
customer only needs 7 keystrokes (6 digits + <Enter):

A1: hhmmss

Then, to convert to a time that Excel understands, use:

=--REPLACE(REPLACE(A1,3,,":"),6,,":")

and format the formula cell as time.

HTH
Jason
Atlanta, GA

-----Original Message-----
I'm trying to reduce the amount of keystrokes a customer

needs to enter time
data. Essentially, they want to type only the numbers

of an entry of
hh:mm:ss. When using a format built into Excel (non-

custom), the system
turns the data into DD/MM/YY hh:mm:ss, coming up with

an incorrect hour ,
minute, second conversion. any ideas?
.

  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

Gomer

See Chip Pearson's site for code for quick date/time entry.

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

Also Rob de Bruin's site for an add-in.

http://www.rondebruin.nl/qde.htm


Gord Dibben Excel MVP

On Wed, 9 Feb 2005 09:03:05 -0800, "Gomer"
wrote:

I'm trying to reduce the amount of keystrokes a customer needs to enter time
data. Essentially, they want to type only the numbers of an entry of
hh:mm:ss. When using a format built into Excel (non-custom), the system
turns the data into DD/MM/YY hh:mm:ss, coming up with an incorrect hour ,
minute, second conversion. any ideas?


  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Another version that works with a helper cell (like Jason's):

=--TEXT(--A1,"00\:00\:00")
(with A1 formatted as text, entering all 6 digits)
(still format it as time.)

Gomer wrote:

I'm trying to reduce the amount of keystrokes a customer needs to enter time
data. Essentially, they want to type only the numbers of an entry of
hh:mm:ss. When using a format built into Excel (non-custom), the system
turns the data into DD/MM/YY hh:mm:ss, coming up with an incorrect hour ,
minute, second conversion. any ideas?


--

Dave Peterson
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 cell in column B based on value in the next cell (column c) Nicole Excel Discussion (Misc queries) 7 May 18th 05 10:19 PM
what is the format for an input cell? Pumaman Excel Discussion (Misc queries) 2 February 8th 05 05:05 AM
Format Column with Same Function Brett Patterson Excel Worksheet Functions 6 January 5th 05 07:43 PM
convert a column of text to proper Harvey New Users to Excel 4 December 17th 04 02:25 PM
how do I easily convert a single column of text (multiple rows si. philmah Excel Discussion (Misc queries) 2 December 16th 04 12:24 AM


All times are GMT +1. The time now is 02:28 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"