Excel – How to convert a text date in excel from dd.mm.yy to dd/mm/yyyy

microsoft excel

How do I convert a text date in excel from dd.mm.yy to dd/mm/yyyy? and have the new dd/mm/yyyy cell an actual date cell?

Best Answer

  • Suppose in cell A2 you have written a date like, 13.12.2017 and it's format is Text.

So to convert into dd/mm/yyyy, you can use the following.

=TEXT(DATEVALUE(RIGHT(A2,4)&"/"&MID(A2,4,2)&"/"&(LEFT(A2,2))),"dd/mm/yyyy")

You get 13/12/2017.

  • If A2 has 13.12.20, then you should have to use this formula.

=LEFT(A2,2)&"/"&MID(A2,4,2)&"/"&RIGHT(A2,2)

You get 13/12/20.

Related Question