Convert Text to date

cimajc17

New Member
Joined
Jun 10, 2015
Messages
15
Is there any way I can convert this text [TABLE="width: 204"]
<tbody>[TR]
[TD="class: xl63, width: 204"]May 31 2015 6:17PM
Into a date and time.
Thank you in advanced [/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
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,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

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