Date Format

  • Thread starter Thread starter Celtic Warrior
  • Start date Start date
Celtic Warrior said:
How do I convert a date format from dd.mm.yy to dd/mm/yy?

Any help appreciated

Highlight the cell/cells you want to format. Then click
Format/Cells/Number/Date and choose the type you want displayed.
 
You'll first have to use the replace function in Excel to change the dots "."
to "/"
then format the the cells as mentioned previously. The replace function can
be found under the Edit menu or use the shortcut Ctrl H. Highlight only the
cells that have the dd.mm.yy otherwise all the "." will change to "/".
 
Have you used the replace function under the Edit menu? That alone should do
what you want if what's in your cells is input as dd.mm.yy.
 
With 25.12.08 in cell A1, in B1 enter:

=DATE(RIGHT(A1,2)+2000,MID(A1,4,2),LEFT(A1,2)) displays a real date
and
=SUBSTITUTE(A1,".","/") to display a text date
 
Data>Text to Columns>Next>Next>Column Data Format>DMY>Finish.

Works for me in Excel 2003 with your example data.


Gord Dibben MS Excel MVP
 
Back
Top