I have the following data in column B. I need the string of data to be stripped and only have the month and year within the cell in the same column.
Thu Oct 28 23:00:12 2013
Thu Nov 28 23:15:05 2013
Thu Oct 28 23:00:04 2013
Thu Dec 28 10:02:26 2013
Thu Dec 28 19:39:00 2013
Thu Oct 28 22:15:11 2013
Fri Nov 1 06:01:28 2013
Thu Aug 28 19:13:14 2013
Fri Aug 1 03:04:59 2013
It should look like this;
Oct 2013
Nov 2013
Oct 2013
Dec 2013
Dec 2013
Oct 2013
Nov 2013
Aug 2013
I got this VBA Macro from an earlier EE posting thats just strips off the month, but I would now like the month and year:
Sub doMacro()
Dim DataRange As Range, C As Range
Set DataRange = Range("A1:A16")
For Each C In DataRange
Cells(C.Row, 2) = Split(C.Value, " ")(1)
Next C
End Sub
Thanks
=MID(A1,5,4)&RIGHT(A1,4)