Date transscription

willem1933

New Member
Joined
Oct 29, 2011
Messages
2
I receive my bank statements with the date written as: yyyymmdd
This notation is without dots or slashes. I can use the replace command to put a dot or a slash behind the year, but do not know how to put on between the month and the day. Have tried to use macro, but when I do the cursor springs back to the cell I made the macro in.
I want my dates as dd.mm.yyyy
Suggestions please
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi

To convert the string to a date you can also use:

=TEXT(A1,"0000-00-00")+0

and then format the cell as you wish
 
Upvote 0
Thanks for the help both from VoG, the moderator and PGC01.

The answer from VoG did alas not work

I succeeded with the conversion via =TEXT(A1,"0000-00-00")+0, then with copy-paste special-values converted it to text. After this I used =datevalue which converted it to a number (hidden in a formula). Converted the formula again with copy-paste special-values and converted it to text. Then formated the text number into the european date format.

Thanks
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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