Hi
I am not able to change date format.
Like I need to convert it as yy/mm/dd format
Thanks
Hi
I am not able to change date format.
Like I need to convert it as yy/mm/dd format
Thanks
hi narendrabr, try:
=DATE(MID(A2,7,4),MID(A2,4,2),LEFT(A2,2))
or if your computer settings is D/M/Y, then:
=LEFT(A2,10)+0
in both cases, just format to what you want
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
=DATE(MID(A2,7,4),MID(A2,4,2),LEFT(A2,2))
and copy down the column
Regards
Special-K
Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.
Not possible from Format cells-Date/custom ?
Thanks!
Hi narendrabr
Select your data > Text to Columns on the home tab > Delimited > Next > Next > Select: Date > Finish
Format the cells as in your original post: yy/mm/dd
Regards Kevin
Merged Cells (They are the work of the devil!!!)
Hi I am doing this but not changing..
Thanks
Hi
I seem to have no issue with converting them to dates & times. See the attached file.
Yes doing the same but not changing.
Thanks
Try selecting DMY for the column data format on the 3rd step of Data>Text to columns...
If posting code please use code tags, see here.
I have tried Format cells and Text to columns but nothing works.
Thanks
How exactly did you try Data>Text to columns...?
Also, how did the formulas posted not work?
If I remove HH:MM:SS( 04:37:14) from date I can change format but if i have (24-03-2012 04:37:14) I cant.
Thanks
Even when I use the following formula and format the cells I get no problem with the workbook you uploaded.
Formula:
=DATEVALUE(LEFT(A2,10))+RIGHT(A2,8)
Is the data you are working with, the same as the file you uploaded!
Regional setting is US.
Do we have to use this formula to remove the time?
=DATEVALUE(LEFT(A2,10))+RIGHT(A2,8)
I am using the same sata/
Thanka
what is your date format in regional settings?
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
24-03-2012 is uk format thats probably your problem
try
=DATE(MID(A1,7,4),MID(A1,4,2),LEFT(A1,2))+RIGHT(A1,8) as was suggested in post #3
Last edited by martindwilson; 03-13-2013 at 09:42 AM.
Ok.My question is not possible from format cells or text to columns functions in excel?
Thanks
you cant format that as your regional settings wont recognise the date so its treated as text
but
you could try
text to columns.fixed width
choose dmy for the first column click finish
column a will have dates col b times
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks