Hi! In an excel table I have thousands of dates in the form "140688". In order to use them for calculations they have to be transformed into a format that excel recognises as "date" (e.g. "14.06.88"). Is there a function that can do this?
Hi! In an excel table I have thousands of dates in the form "140688". In order to use them for calculations they have to be transformed into a format that excel recognises as "date" (e.g. "14.06.88"). Is there a function that can do this?
Select the column of "dates"
Select Data | Text to columns
Click Next
Click Next
Choose Column data format: DMY
Click Finish
Widen the column if necessary
Format as required
Done
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Thanks a lot for the answer, Guru. Unfortunately I don't quite understand it. Attached is an example (" Example dates.xls"). would it be possible for you to perform the transformation on this example? (if possible with explanations above or below the columns).
File attached. Do exactly what TMS said.
Using a formula
In B2, Drag/Fill Down
Formula:Please Login or Register to view this content.
If you need any more information, please feel free to ask.
However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....
Also
اس کی مدد کرتا ہے اگر
شکریہ کہنے کے لئے سٹار کلک کریں
If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.
Not really sure what's not to understand ... they're manual steps, select the cells, etc ... In your example, column A ... and follow the instructions:
HTML Code:
And trust me, I didn't do that manually, or with a formula.
@Fahads_neo: thanks for the confirmation ... sometimes you start to doubt yourself
Regards, TMS
Wow! Many thanks to you all, TMShucks, Fahads_neo, and Marcol! That's been great help. As to not understanding... well, there are as it seems still commands I've never come across or needed to use. Good to have helpful friends out there on the cyber!
Dear TMShucks, Funny, the topic I am working on is called TMS (a German acronym). Anyway, the command text to columns was not activated in my Excel, so I didn't know it. I've now solved the problem and it works perfectly. So again, cheers for your help and patience
You're welcome. Thanks for the rep.
I hope it's an acronym for something good
Not activated? I've never come across that. However, I always tend to go for a full installation, so perhaps that explains it.
Anyway, glad you have a solution.
Regards, TMS
Just a note not on Excel but on excellent....
There's an Israeli who used to live in Scotland and was, long ago, a great fan of Georgie Best. He places a question in a forum and gets prompt help from Manchester, Fife, Dubai and Saudi Arabia. Isn't that fantastic? Imagine all the people....
Love to you all,
Inug
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks