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

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
How do you download the data? What format the data is?
 
Upvote 0

Forum statistics

Threads
1,215,427
Messages
6,124,830
Members
449,190
Latest member
rscraig11

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