How to Convert mmddyy to Date in Excel

This post will guide you how to convert non-standard date formats or text to a standard date in Excel. If you have a date with mmddyy format, and you want to change it as the normal date format as mm/dd/yyyy with Excel Formula. How do I convert the mmddyyyy text to normal date format in Excel 2013/2014.

Assuming that you have a list of data in range B1:B4 which contain date values as text format. and you can use one of the following methods to convert it as normal date format.

Convert mmddyyyy Text to Date with Formula

To convert the mmddyyyy text to normal date format, you can use a formula based on the DATE function, the MID function and the RIGHT function. Just like this:


Type this formula into a blank cell and press Enter key, and then drag the AutoFill Handle down to other cells to apply this formula to convert it.

convert mmddyyy to date1

Convert mmddyy Text to Date with Text To Column Feature

You can also convert mmddyyyy Text to a normal date format with Text to Column feature in Excel. Just do the following steps:

Step1:select the range of cells that you want to convert, such as: B1:B4.

convert mmddyyy to date2

Step2: go to Data tab in the Excel Ribbon, and click Text to Column command under Data Tools group. And the Convert Text to Columns dialog box will appear.

convert mmddyyy to date3

Step3: select Delimited option under Original Data type section in the Convert Text to Columns dialog box, and click Next button. Click Next button again.

Step4: select Date option under the Column Data format, and then choose MDY from the drop down list box of Date. Then select on destination cell to place data. Click Finish button.

convert mmddyyy to date4

Step5: you would see that the selected cells have been converted to a normal date format.

convert mmddyyy to date5

Convert mmddyy Text to Date with VBA Macro

If you want to convert mmddyyyy text to a normal date format quickly, you can also use an Excel VBA Macro to achieve the same result. Just do the following steps:

Step1: open your excel workbook and then click on “Visual Basic” command under DEVELOPER Tab, or just press “ALT+F11” shortcut.

Get the position of the nth using excel vba1
Step2: then the “Visual Basic Editor” window will appear.

Step3: click “Insert” ->”Module” to create a new module.

export each sheet to csv2

el v

Step4: paste the below VBA code  into the code window. Then clicking “Save” button.

convert mmddyyy to date6

Sub ConvertTeoneCelltToDate()
    Set MyRange = Application.Selection
    Set MyRange = Application.InputBox("Select a Range:", "Convert mmddyyy to date", MyRange.Address, Type:=8)
   For Each oneCell In MyRange
       oneCell.Value = DateSerial(Right(oneCell.Value, 4), Left(oneCell.Value, 2), Mid(oneCell.Value, 3, 2))
       oneCell.NumberFormat = "mm/dd/yyyy"
End Sub

Step5: back to the current worksheet, then run the above excel macro. Click Run button.

convert mmddyyy to date7

Step6: select one range which contain text data that you want to convert, such as: B1:B4. Click OK button.

convert mmddyyy to date8

Step7: Let’s see the result:

convert mmddyyy to date9

Related Functions

  • Excel MID function
    The Excel MID function returns a substring from a text string at the position that you specify.The syntax of the MID function is as below:= MID (text, start_num, num_chars)…
  • Excel LEFT function
    The Excel LEFT function returns a substring (a specified number of the characters) from a text string, starting from the leftmost character.The LEFT function is a build-in function in Microsoft Excel and it is categorized as a Text Function.The syntax of the LEFT function is as below:= LEFT(text,[num_chars])…
  • Excel RIGHT function
    The Excel RIGHT function returns a substring (a specified number of the characters) from a text string, starting from the rightmost character.The syntax of the RIGHT function is as below:= RIGHT (text,[num_chars])…
  • Excel DATE function
    The Excel DATE function returns the serial number for a date.The syntax of the DATE function is as below:= DATE (year, month, day)…



So empty here ... leave a comment!

Leave a Reply