Date format (reposted)

B

Brian

How can I convert dates formatted as yymmdd e.g. 051213 to show as 13/12/05.
And vice versa? Any help would be appreciated.

Brian
 
C

CaptainQuattro

Assuming the date that you describe has been stored in the cell as a
date, and not just a string of digits you can do the following:

Select the cells that you want to reformat and choose

Format > Cells > Number > Custom, and in the area marked _T_ype
enter dd/mm/yy

If the "dates" are currently stored as strings of digits, do the
following:

Select the column containing the dates and go

Data > Text to Columns >

Choose Fixed Width

Next > Next

Choose Date, and from the drop-down menu pick DMY.

Then do the custom format that I described at top.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top