+ Reply to Thread
Results 1 to 9 of 9

Military time format

  1. #1
    Registered User
    Join Date
    08-06-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Military time format

    Any suggestions on entering time into a spreadsheet and having it appear in military format?

  2. #2
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: Military time format

    Hi Glen and welcome to the forum.

    You can right click - format cell - time - and then select the 24 hour format. Does that work for you?

  3. #3
    Forum Contributor BenMiller's Avatar
    Join Date
    12-06-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    254

    Re: Military time format

    Format it as h:mm:ss;@

  4. #4
    Registered User
    Join Date
    08-06-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Military time format

    If I wanted to enter in 8AM, I thought entering in 0800 adn using the format would work. The cell displayy zeros in that format with teh cell contents of 1/8/1900 12:00:00 AM.

  5. #5
    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: Military time format

    If you want 1pm to appear as 1300, enter it as 13:00 and format as hhmm

    EDIT: if you want to enter just 8 and have it appear as 0800, while retaining an Excel serial date/time value, you'd need VBA.
    Last edited by shg; 08-06-2012 at 06:16 PM.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Forum Contributor BenMiller's Avatar
    Join Date
    12-06-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    254

    Re: Military time format

    Quote Originally Posted by shg View Post
    If you want 1pm to appear as 1300, enter it as 13:00 and format as hhmm
    You'd actually have to put a space between the numbers and the AM or PM.

  7. #7
    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: Military time format

    Or enter it as 13:00 as I suggested.

  8. #8
    Registered User
    Join Date
    08-06-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Military time format

    Thanks for the help ... looks good.

  9. #9
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: Military time format

    You can enter 800 and have it appear as 0800 by doing the following...

    Format - Special - Location - Portuguese (Portugal) - OK

+ 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