Convert Text to date

cimajc17

New Member
Joined
Jun 10, 2015
Messages
15
Is there any way I can convert this text
May 31 2015 6:17PM
Into a date and time.
Thank you in advanced

<tbody>
</tbody>
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Welcome to the board.

If that's a consistent representation of the string, try

=SUBSTITUTE(REPLACE(A1,LEN(A1)-1,0," ")," ",", ",2)+0
 
Upvote 0
Once I get the serial number I used
=TEXT(B1,"m/d/yy ")
to extract the date.
Is there a formula to extract time and put it in to C1?
 
Upvote 0
I would use these to seperate the date and times..

B1 has the formula before

DATE: =INT(B1) format cell with formula as Date
TIME: =MOD(B1,1) format cell with formula as Time
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,549
Members
449,089
Latest member
davidcom

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