Convert written date

JamesBowdidge

New Member
Joined
Nov 8, 2018
Messages
46
Hi,

I have an extract that spits out a date in this format...

Nov 6, 2018 9:59:35 AM

And I need it to be recognied as a "proper" date in excel..

Can anyone help?

thanks

J
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Welcome to the Board!

That actually is/can be a proper date in Excel.
The question is, is that entry entered as Text or Date?
An easy way to tell is to try changing the format of a cell to a different date format. If the appearance changes, it is entered as a date, and all you have to do is choose the date format that you want.
Otherwise, you can convert it to a date using the DATEVALUE function, i.e. in the entry is in cell A1:
Code:
=DATEVALUE(A1)
or if you do not want to use an additional column, use Text to Columns (under the Data menu) to convert it to a valid date entry.
Then, just choose the cell date format you desire.
 
Upvote 0
Hi Joe,

thanks for replyng..

Changing the formattin makes no differnce the cell contents.. an the datevaue function gives a #value error. so Iam assuming that even the syntax of the text is not recognised by excel. So I need another way of extracting the value from the text.

any ideas?

thanks

J
 
Upvote 0
That should work because that format is acceptable by Excel as you had given it. Is there perhaps no space before your AM/PM or something?
 
Upvote 0
Sometimes if Excel doesn't recognize my data I do "text to columns" (alt A E), click delimited and then uncheck every box and hit finish. Not sure why it works but it does!
 
Upvote 0
Thanks Mike, but has no effect im afraid..

I havn seen a date field extract quite like this before and nothing I do seems to make it recogise this.. I need an easy solution (preferably formular) as this is from an auto payment report that comes every day.. Im tottally stumped!!

thanks
 
Upvote 0
Hi Scott,

there is a space before the "am" or "pm" and the originaly quoted format of the date is exactly as shown in the original post? I just dont get it!! LOL
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,304
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top