problem copying dates from the web into excel

amitb

New Member
Joined
Jul 26, 2004
Messages
24
Hi

I copy dates from a web page for my report. The dates are in the format: 10/10 on the web page. On my sheet I have formatted them as date with following format: 10-Oct-05.

Most of them automatically add 05 and show in the format I want : 10-Oct-05. Howver not all show up like that - some only show up as 10/10. I have to then add 05 manually in front of them and I get the format I want. If I try to add 05 with a formula then I get this format: 10/10/05. And I cannot get it the format I want no matter what I do. And when I go to format cells, it shows it as type date and exactly as I want it: 10-Oct-05, but the cell still shows it as 10/10/05.

Can someone please give me a solution so I dont have to manually add the 05 for each cell.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
presume in 10/10 the first is month and second idsdate
then use this fomula
=(LEFT(A1,2)&"/"&MID(A1,4,2)&"/05")+0
if the first 10 is date andsecond 10 is month use this formula
=(MID(A1,4,2)&"/"&LEFT(A1,2)&"/05")+0
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,267
Members
449,075
Latest member
staticfluids

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