I'm looking for formulas that will extract the date and time from column A in the sample attached and put them in to 2 different columns (E & F).
I'm looking for formulas that will extract the date and time from column A in the sample attached and put them in to 2 different columns (E & F).
For the date...
=--LEFT(A2,FIND(" ",A2))
for the time...
=MID(A3,FIND(" ",A3)+1,99)
Note that extracting the date this way generates a real date (as opposed to a text date), but the time is not real time, it is still text
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Data ribbon > Text to Columns > Fixed width (set the split after the date) > MDY on the first column > Finish.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
I'm looking for a way to do it without using text to columns. There is more data than just this one column.
Did you try my suggestion?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks