A simple, lovely way to convert mm/dd/yyyy (US format) to dd/mm/yyyy or any preferred format, e.g. dd mmm yyyy. in Microsoft Excel
- Select the column of dates
- Under DATA, select “Text to Columns”
- Select Delimited, then click “Next”
- Untick ALL delimiters, then click “Next”
- Select column format “Date: MDY”, then click “Finish” (this current data format and not your desired format)
- Excel recognises the text as a date; highlight the column; Format Cells and change the date format to your desired format
This has bugged me for YEARS.
Take a column full of US dates in Excel that have been formatted as text and convert them to a “proper” format that can actually be used to sort by… i.e. the date format used by the rest of the world.
While annoying, this is relatively easy if all your dates are in fixed width mm/dd/yy (e.g. 03/12/14) or mm/dd/yyyy format, you can just use simple mid/left/right formulas to extract them knowing exactly where each will be.
If on the other hand the dates are in m/d/yy (e.g. 3/5/14 or 25/11/14) or m/d/yyyy format then it gets a bit messier as you now need to start finding and splitting the text at the slashes.
Today I found a really simple way to do it.
View original post 114 more words