Thread
:
Converting Dates after Import
View Single Post
#
6
Posted to microsoft.public.excel.newusers
Rick Rothstein
external usenet poster
Posts: 5,934
Converting Dates after Import
With a number in A1:
=IF(LEN(A1)=7,DATE(RIGHT(A1,4),LEFT(A1,1),MID(A1, 2,2)),DATE(RIGHT(A1,4),LEFT(A1,2),MID(A1,3,2)))
This is a more compact way to do the same thing...
=--TEXT(A1,"00\/00\/0000")
--
Rick (MVP - Excel)
Reply With Quote
Rick Rothstein
View Public Profile
Find all posts by Rick Rothstein