Converting European Dates to US Dates
Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Converting European Dates to US Dates.
Linda asked if there is a formula that will convert a date shown in the European fashion of day/month/year to the US version of month/date/year. Truth be told, this may not be necessary. You see, Excel maintains dates, internally, as numeric values and then simply displays them using various formats. If the dates are truly dates—numeric values—in the worksheet, then you can simply change the format and the dates will be displayed in the way common to the US.
Of course, the date you see in a worksheet could be a text value, instead of a date value. You can test whether the date is really an Excel date or a text value by changing the format of the cell (or cells) to General. (Do this using the Number tab of the Format Cells dialog box.) If it is text, you'll see no change in the display. If it is a date value, the date should change to a number that represents the number of days since whatever base date your system is using (typically January 1, 1900).
If your dates are truly date values, then simply change the format of the cell (or cells) to whatever date format you want to use. Again, this is done using the Number tab of the Format Cells dialog box.
If your dates are text values, then you will need to convert them to true date values (non-text) so that they can be formatted as just described. You can do this by using a formula to do the conversion. If you have a text date in cell A1 in the format dd/mm/yyyy, then you can use the following formula:
=DATE(VALUE(RIGHT(A1,4)), VALUE(MID(A1,4,2)), VALUE(LEFT(A1,2)))
The result of this formula is a date serial number that is recognized and can be formatted by Excel.
Of course, it is possible that you have a bunch of mixed dates in your worksheet. Consider the following list of dates:
If these are entered into a worksheet, the first twelve dates (1/1/11 through 12/1/11) are parsed by Excel as January 1, 2011, through December 1, 2011. The next five dates are parsed as text since Excel doesn't, by default, recognize that the dates are in d/m/y format. If you have a bunch of dates like this, you can quickly convert them to real dates without the use of any formulas. Just follow these steps:
- Select all the cells containing the dates—both the date values and the text values.
- Start the Text to Columns wizard. (Choose Text to Columns from the Data menu.) (See Figure 1.)
Figure 1. The first screen of the Text to Columns wizard.
- Choose Fixed Width and click Next to proceed to step 2 of the wizard.
- If you see any column break indicators in the dialog box, get rid of them by double-clicking on them. You don't want any such indicators because you don't want Excel to think you have static breaking places for your data.
- When all the column break indictors are gone, click Next to proceed to step 3 of the wizard.
- In the Column Data Format section of the dialog, click the Date radio button.
- Using the date format drop-down list, choose DMY.
- Click Finish.
That's it; your data is converted, in place, to the date values that Excel can work with.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3309) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Converting European Dates to US Dates.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Leave your own comment:
Comments for this tip:
veronika 02 Jun 2016, 13:54
You can also use this formula if you have several europen dates like 3/12/2016 or 30/12/2015 or 3/3/2007
i hope you find this also helpful
=DATE(VALUE(RIGHT(D3,4)), VALUE(MID(D3,FIND("/",D3)+1,FIND("/",D3,4)-FIND("/",D3)-1)), VALUE(LEFT(D3,FIND("/",D3)-1)))
Denise 25 May 2016, 03:59
Needed this to sort a 2000 row spreadsheet for my European partner. Took all of 15 minutes, including the research. Priceless!!! Thank you so much.
Douphet 03 May 2016, 17:24
Very usefull tip, thanks a million.
Jocelyn 21 Apr 2016, 11:24
Laura 06 Apr 2016, 00:54
Thank you so much for the Text To Columns tip, this has saved me a lot of time.
Christy 29 Jan 2016, 12:07
Thanks for this tip...definitely helped me with my file containing hundreds of thousands of Euro times.
Ario 08 Jan 2016, 19:01
=DATE(VALUE(RIGHT(A1,4)), VALUE(MID(A1,4,2)), VALUE(LEFT(A1,2)))
This was a brilliant tip.
Thank you, sincerely,
ptippur 20 Sep 2015, 19:45
this worked gr8! the convrt to DMY
OliAlves.Robson 04 Aug 2015, 13:11
Hi, I don't know change the calendar on my Microsoft Access VBA.
I hae the date '12/Aug/2015' and want change to format brazilian '12/Ago/2015'.
Anyone knows how i do it?
Mike O 08 Jun 2015, 11:59
one small issue..i had a text date reading 18/06/2015 but when i applied the formula, it returned a value of 6/18/1900...it seemed to drop the year.
i checked and re-checked the formula you listed but cannot seem to figure out why it dropped the year..ideas?
Yeison 08 Jun 2015, 04:49
Great solution! Thanks.
In my specific situation I needed to convert a cell that was in this format:
3/26/2015 4:52:09 PM
I was struggling to avoid doing it manually.
- Leave one column break betweeen date/time
- Choose MDY
Stephen 05 Jun 2015, 12:29
Nick 15 Apr 2015, 21:28
Thanks, like others I have been trying to resolve this issue for a long time
Dan 11 Feb 2015, 12:08
Whew - I was banging my head against this one for hours before I found your clear solution. Thanks!
julie 28 Jan 2015, 15:06
Thanks for a great tip!
Drew 07 Jan 2015, 18:22
Bill G. 25 Sep 2014, 15:49
What a simple and elegant solution to a problem that was driving me nuts.
Thank you so much
James Moore 04 Sep 2014, 11:59
Kurt 10 Jun 2014, 12:38
I was messing around with importing English dates from CSV file using "format cells - date function" I would have never thought to use "text to columns"
Eric 13 Aug 2013, 10:40
Simple and effective, thanks!
Randy 28 May 2013, 13:22
Thanks so much for the tip! I'm sifting through Salesforce data imports and you have saved me hours.
Barry Fitzpatrick 12 Nov 2012, 05:24
If the dates ate already in "date" format then the value will be an Excel date serial number, in which case you need set the display format. To do this select the cells (or column) containing the dates, select format cells (or Ctrl+1), [change the "Locale" will give you different formats. If on your PC one of the standard date formats is not the one you want, then select "Custom" in the Category list, and enter "mm/dd/yy" in the "Type" box, then "OK".
If the entered dates are actually text, then you need to use a modified version of the formaula given in the tip. The only issue you might have is the century as yy could be 19yy or 20yy (or other). Excel will default to using this century. If some are in the last century then you'll have to decide on a rule and test for this accordingly. E.g. if yy>50 then the date is the last century.
kabongo 11 Nov 2012, 21:31
I have imported data which has dd/mm/yy format. However, my PC uses the mm/dd/yy format.
Owing to the large volume of the data which have dates in the dd/mm/yy format, how can i convert them mm/dd/yy without doing so manually. I urgently need to use the information but can't do so in the above format as my excel would read the dates differently.
The strings are in date format already
Popenheim 10 Nov 2012, 07:15
Very useful tip
I downloaded 28000 rows with date, time and pH in cvs file type. In notepad I converted the cvs to txt format and opend this in Excel2007. I then separated the date choosing the / as separator as well as other separtors. All colums were defined as text. This done, the txt file was converted.
Then with the above mentioned formular i concaternated and produced the date serial number. The time was produced in similar manner (23:21) transformed to =Time((Value(Left(F2;2)));(value(Right(F2;2)));)
The whole exercise rest on keeping the original data in text format and working the data into the proper date:time formates.
JUAN 10 Jun 2012, 00:51
Thanks a lot for the tip, the formula works excellent!
I tried to use the Text to column feature but some dates are still text, what am I doing wrong?
Kelly Carbon 21 May 2012, 16:09
Thank you for the extremely helpful tip. I work in SAP and this is going to save me hours of time sorting through data. Great job!