Could you please tell me how to convert this type of data to a date in excel ?
Data to be converted: Jan 19 2009 12:00AM
Type: 19/01/2009
Thanks
Could you please tell me how to convert this type of data to a date in excel ?
Data to be converted: Jan 19 2009 12:00AM
Type: 19/01/2009
Thanks
You haven't specified what version of Excel you're using. Here's how to do it in 2013.
Typing just 19/01/2009 into an Excel cell automatically formats it as 'Date'.
If you right-click on that cell and select 'Format Cells' a box will appear with 'Date' already highlighted.
Select 'Custom' at the bottom of the left-hand list, then paste the following into the 'Type:' box on the right.
dd/mm/yyyy hh:mm AM/PM
You can also select just 'Date' rather than custom, which will do what you've asked in the comments.
With text in A1, in B1 enter:
=DATEVALUE(MID(A1,5,3) & MID(A1,1,4) & MID(A1,8,4))
and format as you wish.