+ Reply to Thread
Results 1 to 4 of 4

How to enter time without using the colon :

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Pacific NW
    MS-Off Ver
    Excel 2003
    Posts
    1

    How to enter time without using the colon :

    Hi I have to enter employee timecards and I have an excel file where I enter the start time, beginning of lunch, end of lunch and end time and it calculates hours worked for me. This is awesome and saves me time however, I have to enter the time in the HH:MM format, and having to enter the colon really slows me down. There's no colon on the 10-key pad! Is there anyway to use say a period instead?

  2. #2
    Registered User
    Join Date
    08-30-2011
    Location
    Australia
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    57

    Re: How to enter time without using the colon :

    You can use this macro, just enter the time as you do now and it will insert the colon for you, just adjust the ranges to suit your columns.[FORMULA
    Please Login or Register  to view this content.

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: How to enter time without using the colon :

    If you want to use functions instead of macros, you could have helper columns. Let's say you enter Start Time in A2, Break Time in B2, Return from Break in C2 and End Time in D2. In E2 use something like:

    =(INT(A2)+((A2-INT(A2))/0.6))/24

    or

    =TIME(INT(A2),(A2-INT(A2))*100,0)

    Fill that to the right (into F2, G2 and H2) to get the time values for the data you entered. (Format cells as Time, of course.)

    You can then do calculations/totals/etc. on columns E:H.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to enter time without using the colon :

    i'd remap my keyboard an put : instead of del on the numeric key pad!
    http://vlaurie.com/computers2/Articl...p-keyboard.htm
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1