I am supposed to convert date format from dd/mm/yyyy or dd/mm/yy to yyyy/mm/dd in excel 2003, i think it is possible in excel 2007 by selecting format-cell-->custom date-->yyyy/mm/dd.
|
|
|||
|
|
migrated from stackoverflow.com Oct 22 '12 at 10:14
|
It is the same in 2003 except the category isn't custom date it is just custom then fill in yyyy/mm/dd or whatever format you want to use. If the dates are not changing format there is a good chance they are stored as text. To force Excel to treat them as not text do the following.
That will force excel to reevaluate the dates without actually changing their value. |
|||||||||
|
|
You could use a formula to change it. Assuming your date is in A1, put this in A2:
Omnikrys is right, of course, that you need to verify your data is stored as dates and not text first. Hope that helps! -- jm |
|||
|
|
|
Put the original date in one cell, and set it's "Date" format to the type "3/14/2001". Then set the format of a second cell to "Custom" yyyy/m/d. Set the second cell value to "=A1" or whatever the first cell is. Anything entered in the first cell will be converted. (Or at least this works in 2007.) |
|||
|
|