Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to convert military time to standard time in Excel?

Maybe you have accepted a worksheet with a list of military time as shown as below, and you are used to viewing standard time, so you want to convert these military time to standard time in Excel, how can you do?


good ideaConvert Time

Kutools' Convert Time utility can quickly convert a time to decimal hours, minutes, seconds.
doc convert time 1
Time to decimal hours
Time to decimal minutes
Time to decimal seconds
doc convert time 2
doc convert time 3
doc convert time 4

arrow blue right bubble Convert military time to standard with formula in Excel


In Excel, you can convert the military time to standard time with formula quickly.

1. Select a blank cell to type this formula =TIMEVALUE(LEFT(A1,2)&":"&MID(A1,3,2)&":"&RIGHT(A1,2)) (A1 indicates the cell you want to convert the military time to standard time, you can change it as you need), and press Enter key, then drag the fill handle to fill the range you want. See screenshot:

2. Then select the range B1:B6 (the range you use the above formula, you can change it as you need), and right click to click Format Cells. See screenshot:

3. In the Format Cells dialog, click Number tab, and click Time from the Category box, then select the standard time format from the right section. See screenshot:

4. Click OK, you can see the result:

Tip: If the military time just has hour and minute such as 2323, you can use this formula =TIMEVALUE(LEFT(A1,2)&":"&RIGHT(A1,2)) and then follow the above steps to convert it to standard time. See screenshot:


arrow blue right bubble Convert standard time to military with formula in Excel

To convert standard time to military time, you also can use a formula to solve it.

Select a blank cell, and type this formula =TEXT(A1,"HHMMSS") (A1 indicates the cell you want to convert the military time to standard time, you can change it as you need), and press Enter, then drag the fill handle to fill the range you want. See screenshot:

Tip: If the standard time just have hour and minute such as 11:23 PM, you can use this formula =TEXT(A1,"HHMM"). See screenshot:

Tip.If you want to convert nonstandard dates to the standard date mm/dd/yyyy , please try to use the Kutools for Excel’s Convert to Date as shown in the following screenshot. It’s full function without limitation in 60 days, please download and have a free trial now.

Convert to Date

doc convert date

Relative Articles:


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    James · 1 months ago
    The problem with this is you have to use two columns
    • To post as a guest, your comment is unpublished.
      Sunny · 26 days ago
      Yes, but you can copy and pasted the formula result as value, then delete the original column and formula column if you do not need them any more, Now you will leave only one result column.
  • To post as a guest, your comment is unpublished.
    Mike · 1 years ago
    I think this solves my problem of miltary times that are less than 1000 not having the zero in front (e.g. 714 rather than 0714):

    =IF(A1<1000,CONCAT(0,A1),A1)
    • To post as a guest, your comment is unpublished.
      Sunny · 1 years ago
      Sorry for reply you too late.In my version, the formula can work for three digits number which do not need to be add the leading zero. If it cannot to work for you, you can add leading zero by format the cells as 0000 in the Format Cells > Custom.
  • To post as a guest, your comment is unpublished.
    Mike · 1 years ago
    What if the military time doesn't contain the zero in front? For example 0714 is showing as 714. How do you format these times quickly so that your formula above works correctly?
  • To post as a guest, your comment is unpublished.
    Greg · 2 years ago
    Thanks, it seemed to work great even though I am not that sharp with excel. I was able to find a pre-made excel spreadsheet that converts standard time to military time automatically for my needs at another site. You can find it here: http://www.militarytime.us/military-time-converter/ (the link is under the converter tool that is also quite nice for a quick single conversion). Thought others might find it useful as well.
  • To post as a guest, your comment is unpublished.
    Whitney · 3 years ago
    This works well, but there's rounding errors after a few instances of this. How do you fix that? (I. E. I get down to where I'm adding 20 seconds to my start time, but the output time is 3 seconds later than it should be.)