+ Reply to Thread
Results 1 to 4 of 4

Entering time without using colon

Hybrid View

  1. #1
    Registered User
    Join Date
    09-21-2012
    Location
    Earth
    MS-Off Ver
    Excel 2003
    Posts
    1

    Red face Entering time without using colon

    Hi, I am new this all, you help would be very much appreciated.

    I am using Excel, and seeking some help in formulating a formula that allows me to key in time quicker and easier than the continual shift colon method of entering the hours and minute into a cell.

    I am trying to put together a a weekly shift rota that calculates the number of hours each employee has been pencilled in to work. As I have alot of people to rota, I am looking for a way to enter the shift start and finish times (using 24 hour clock) into the rota without having to use the semi colon ":" prefering to enter the time using milatary time "0700" or a dot "23.00" but a formula displays the time correctly as "12:00 AM" etc. Using the correct time format then allows for the time to be recognised and the hours worked to be calculated.

    Thanks in advance
    Last edited by acvaus; 09-21-2012 at 05:09 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Entering time without using colon

    See http://www.pcmag.com/article2/0,2817,2316755,00.asp
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: Entering time without using colon

    Using military time like 0730 or 1530, you can use the following formula:

    =TIME(INT(A1/100),A1-INT(A1/100)*100,0)

    Where A1 is where you put your military time.

    One other suggestion is to change your number format to 0000 so that it will always show the leading 0.

    Let me know if you need clarification.

    Dennis

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Entering time without using colon

    Or =--TEXT(A1, "00\:00")

+ 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