ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Convert date + time text format to date format (https://www.excelbanter.com/excel-worksheet-functions/143658-convert-date-time-text-format-date-format.html)

Paul Ho

Convert date + time text format to date format
 
Hi,
For example. I have a text "5/30/2007 09:30 AM" in cell a1. How can I
convert it to Date format? Thanks.

RagDyeR

Convert date + time text format to date format
 
One way:

select the cell(s),
<Data <Text To Columns <Delimited <Finish
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===



"Paul Ho" wrote in message
...
Hi,
For example. I have a text "5/30/2007 09:30 AM" in cell a1. How can I
convert it to Date format? Thanks.



Dave Peterson

Convert date + time text format to date format
 
If your windows short date is in mdy order, you may want to try just selecting
that column and

Edit|Replace
what: / (slash)
with: /
replace all



Paul Ho wrote:

Hi,
For example. I have a text "5/30/2007 09:30 AM" in cell a1. How can I
convert it to Date format? Thanks.


--

Dave Peterson


All times are GMT +1. The time now is 10:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com