Date + Military Time conversion

Dandada2602

New Member
Joined
Nov 22, 2018
Messages
13
Hi,

I need to convert the following format to excel date and time format. YY-MMM-DD + military time to excel.
18-Oct-27 0300

<tbody>
</tbody>
18-Oct-29 0301
18-Oct-28 0925

<tbody>
</tbody>

<colgroup><col></colgroup><tbody>
</tbody>
Thanks
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi,

I had typed up a whole response about how Excel stores dates as integers and you just need to format the cells to display the way you want... then I read your question more carefully!

This has a formula (probably there's a more efficient way but this works as long as your format is always the exact same) and 3 ways to format the result:

ABCD
118-Oct-29 030110/29/201810/29/2018 03:0143,402.13
218-Oct-28 092510/28/201810/28/2018 09:2543,401.39
318-Nov-22 192511/22/201811/22/2018 19:2543,426.81

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet3

Worksheet Formulas
CellFormula
B1=(MID(A1,4,3)&" "&MID(A1,8,2)&", 20"&LEFT(A1,2)&" "&LEFT(RIGHT(A1,4),2)&":"&RIGHT(A1,2))+0
C1=B1
D1=C1

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



Tai
 
Upvote 0

Forum statistics

Threads
1,214,629
Messages
6,120,630
Members
448,973
Latest member
ChristineC

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top