Hello peeps
I am importing data from a system into Excel, but the date formatting for records is mixed - the data has both date and date-as-text string records. As an aside, the data format is in mm/dd/yyyy, while I am using a system date of d/mm/yyyy, and require to reformat the dates also to d/mm/yyyy.
I have attempted a multi-step approach but encounter an issue in formatting the date-as-text strings. Here's a sample of the data I'm working with:
dateformats.PNG
As indicated, I'm working with data that has records formatted as dates as well as dates-as-text.
My formula in Column D is: =TEXT((LEFT(F47,10)),"d/mm/yyyy")
My formula in Column B is: =DATE((RIGHT(D47,4)),(LEFT(D47,2)),(MID(D47,4,2)))
Column F contains the imported data.
My aim is to convert all dates into the format of d/mm/yyyy, and to lose the timestamps. It seems that I am close but encounter a #Value error for record examples from lines 62 onwards, for the dates-as-text records where the month has a value of less than 10 (ie. October converts just fine, but September does not).
Bookmarks