Extract date from a string pulled from RSS Feed : Tue, 06 Feb 2018 23:23:40 +0000 to 06/02/2018

mvrht

New Member
Joined
Dec 9, 2017
Messages
18
I need to use the date of some fields that are imported from an RSS feed in Google Sheets. The date comes in as
Tue, 06 Feb 2018 23:23:40 +0000






Using
=MID(A1,FIND(",",A1)+2,256)
I get the stuff after the comma, so almost there, but just need to ignore the time section
06 Feb 2018 23:23:40 +0000


I then set the cell to Format-Date to turn it into 06/02/2018
So essentially, I am looking to extract parts 2,3,4 from the string using an Excel/Sheets formula

NOTE: I have also tried DATEVAUE with no success with the supplied RSS format
 
Last edited:

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
If the date format is ALWAYS going to be a 2 digit day followed by a 3 character month and a 4 character year, you could just change your formula to pick up the right number of characters e.g.:

=DATEVALUE(MID(C11,FIND(",",C11)+2,11))

and then format this cell as your desired date format.
 
Upvote 0
If the date format is ALWAYS going to be a 2 digit day followed by a 3 character month and a 4 character year, you could just change your formula to pick up the right number of characters e.g.:

=DATEVALUE(MID(C11,FIND(",",C11)+2,11))

and then format this cell as your desired date format.

Yep, they always come in with that format. This works a treat, many thanks
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,369
Members
449,080
Latest member
Armadillos

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