vba code to correct day downloaded as year

l_eonandr

New Member
Joined
Feb 18, 2016
Messages
25
I download data from a url site and the date shows as Jan 21 but when I look at cell contents it is 1/21/2020 which is incorrect. what is a simple formula to correct this to 1/20/2021?
I have quite a few lines to do this with and three sheets. I do this every day. Too much to change manually.
There is also another hickup in the download, every JULY date downloads as a text "JLY 21" and must be changed to 21-Jul, mmm-dd to yy-mmm. Any help is greatly appreciated, thanks in advance.
 

Attachments

  • sample_Page_1.jpg
    sample_Page_1.jpg
    165.6 KB · Views: 11
  • sample_Page_2.jpg
    sample_Page_2.jpg
    44.1 KB · Views: 11

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
How do you download the data? What format the data is?
 
Upvote 0

Forum statistics

Threads
1,216,080
Messages
6,128,692
Members
449,464
Latest member
againofsoul

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