I want to convert a number to date of ddmmyyyy format.
example: if i enter a date as 311208 it should be converted as 31/12/2008.
I want to convert a number to date of ddmmyyyy format.
example: if i enter a date as 311208 it should be converted as 31/12/2008.
If you want the conversion to take place on entry in a single cell then you'll need VBA.....
.....or if input is in A1 then in another cell you could use this formula
=TEXT(A1,"00-00-00")+0
format as date
It should be changed in the same cel as i finished giving data.
see this link
For another method have a look at
http://www.excelforum.com/showthread.php?t=620287
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assisted or failed to assist you I welcome your Feedback.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks