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?
|Kutools' Convert Time utility can quickly convert a time to decimal hours, minutes, seconds.|
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
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:
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:
- Convert one cell to multiple cells/rows in Excel
- Convert column list to comma separated list in Excel
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 8 months agoThe problem with this is you have to use two columns
To post as a guest, your comment is unpublished.· 1 years agoI 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):
To post as a guest, your comment is unpublished.· 1 years agoSorry 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.· 1 years agoWhat 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.· 3 years agoThanks, 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.· 3 years agoThis 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.)
To post as a guest, your comment is unpublished.· 4 years agoGood instruction that worked well. Thank you, Chess