sergiopcrt
New Member
- Joined
- May 12, 2017
- Messages
- 12
Hi everyone,
I have a tough issue I need to solve quickly and I really need your help here.
I have a DATE column where in some of the records the date appears in Excel formated as GENERAL (aligned to the left in the cell) and I I tried everything to changed it to date but to no avail.
The correct records are formated as 15/03/2014 and the incorrect ones are 23-Ago-2014.
[TABLE="width: 107"]
<tbody>[TR]
[TD="align: right"]29/11/1953[/TD]
[/TR]
[TR]
[TD="align: right"]01/01/2000[/TD]
[/TR]
[TR]
[TD]18-Dec-1975[/TD]
[/TR]
[TR]
[TD]05-Dec-1977[/TD]
[/TR]
[TR]
[TD="align: right"]05/01/2000[/TD]
[/TR]
[TR]
[TD="align: right"]16/12/1971[/TD]
[/TR]
[TR]
[TD="align: right"]09/04/1960[/TD]
[/TR]
</tbody>[/TABLE]
I've tried the format cells menu, the DATEVALUE, DATE and TEXT functions and nothing changed those cells. I've also tried the TEXT-TO-COLUMNS trick, but no luck.
From my research so far nothing worked, and I wonder if there's any way around this even if through VBA code.
I'm using Excel 2010 and I intend to later export this info to Access and if the records are not properly formated as date, Access will return an error and won't import those different formated records.
Thanks in advance,
Take care
Sérgio
I have a tough issue I need to solve quickly and I really need your help here.
I have a DATE column where in some of the records the date appears in Excel formated as GENERAL (aligned to the left in the cell) and I I tried everything to changed it to date but to no avail.
The correct records are formated as 15/03/2014 and the incorrect ones are 23-Ago-2014.
[TABLE="width: 107"]
<tbody>[TR]
[TD="align: right"]29/11/1953[/TD]
[/TR]
[TR]
[TD="align: right"]01/01/2000[/TD]
[/TR]
[TR]
[TD]18-Dec-1975[/TD]
[/TR]
[TR]
[TD]05-Dec-1977[/TD]
[/TR]
[TR]
[TD="align: right"]05/01/2000[/TD]
[/TR]
[TR]
[TD="align: right"]16/12/1971[/TD]
[/TR]
[TR]
[TD="align: right"]09/04/1960[/TD]
[/TR]
</tbody>[/TABLE]
I've tried the format cells menu, the DATEVALUE, DATE and TEXT functions and nothing changed those cells. I've also tried the TEXT-TO-COLUMNS trick, but no luck.
From my research so far nothing worked, and I wonder if there's any way around this even if through VBA code.
I'm using Excel 2010 and I intend to later export this info to Access and if the records are not properly formated as date, Access will return an error and won't import those different formated records.
Thanks in advance,
Take care
Sérgio