L
lunker55
I need to convert a non-date string (09/22/2004) to the date sept 22/04
so I can properly sort.
I have a book that shows converting 20040821 using:
=DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))
I changed the formula to:
=DATE(LEFT(A1,2),MID(A1,4,2),RIGHT(A1,4))
But this doesn't work for me.
I also tried removing the slashes first.
Any suggestions would be greatly appreciated.
joe
so I can properly sort.
I have a book that shows converting 20040821 using:
=DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))
I changed the formula to:
=DATE(LEFT(A1,2),MID(A1,4,2),RIGHT(A1,4))
But this doesn't work for me.
I also tried removing the slashes first.
Any suggestions would be greatly appreciated.
joe