+ Reply to Thread
Results 1 to 25 of 25

Text to Date Format

  1. #1
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Text to Date Format

    Dear All,

    I have attached excel, where date is mention in B Coloum but when I am formatting it, it is not showing in proper date format. I want format in eg 18-Mar-2013
    Attached Files Attached Files

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Text to Date Format

    The dates in column B are not actual dates but text...the dates on Sheet1 column B are real dates and can be formatted the way you want by highlighting the entire column, right click and go to formatting....click on custom and enter dd-mmm-yyyy....and that should give you your format....to do that on Sheet 2 you'll have to convert the text to an actual date....HTH
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Text to Date Format

    Hi,

    Can you attach my excel file and resend the way you are suggesting in 03 December 2013 format.

    Thanks for you help!

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Text to Date Format

    You have mixed dates on Sheet 2 Col "B"....some are text shown as dates and some are real dates...I created a formula that checks and then converts it to your format....HTH
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Text to Date Format

    HI,

    Thanks for you help, can you do it in sheet 1.

  6. #6
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Text to Date Format

    no problem...the formula in Sheet 2 works in Sheet 1 if you change A2 to B2 and copy it down....see new upload
    Attached Files Attached Files

  7. #7
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Text to Date Format

    Hi AsifSayed

    Select Column B > Data tab > Text to Columns > Delimited > Next > Next > Tick the Date under Column data format & select MDY from the drop down box > Finish. Do the same for column C.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  8. #8
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Text to Date Format

    Hi,

    Kindly see the attached screenshot. I am not getting all dates in correct format.

    Thanks for you precious time.Screeshot1.JPG

  9. #9
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Text to Date Format

    which column are you clicking on?....what does the actual column look like?....is it correct?....autofilter may not look at the formatting.....here are a couple of things to remember....actual dates and times are really numbers.....like 41355 is the numeric representation of today....time is a fraction of that....so .25 is really 6AM and .5 is noon....now, formatting only changes HOW it looks, it does NOT change the actual data....so to determine if it is TEXT or DATE you can do a couple of things....first, right click on the cell and go to formatting and click on General, if it comes up a number IE:41355 then it is a real Date....otherwise it's TEXT.....so, it is possible that the autofilter ignores formatting....

  10. #10
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Text to Date Format

    Ok, in my excel some are in date format and some are looking like date but they are text, so I want to convert that text in to actual date format. Is it possible

  11. #11
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Text to Date Format

    yes, Kevin's solution for converting will work in both sheets....then you can format the real Dates using custom formatting like showed in Post #2 of this thread....

  12. #12
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Text to Date Format

    I have tried but not working, can you send again that excel file.

    Thanks a lot for you effort it is highly appreciated

  13. #13
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Text to Date Format

    I used Kevin's system to convert all date columns to real dates...then used custom formatting to change it to your format....you really don't even need the formulas I created....
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Text to Date Format

    I have tried but not working, can you send again that excel file.

    Thanks a lot for you effort it is highly appreciated

  15. #15
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Text to Date Format

    still not working?....or did the system generate the exact same post....#12 and #14 are exactly the same....

  16. #16
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Text to Date Format

    I am trying but not getting

    I have done text to columns as informed by kevin and custom formating also.

    Can you explain briefly. Thanks a alot. The file which you have send it perfectly as which I want.

  17. #17
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Text to Date Format

    Hi Ernest,

    I have tried text to column as informed by Kevin, and custom format also. The file which you have send is perfect which I want. Can you please give screenshot if possible. Thank Thanks a lot

  18. #18
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Text to Date Format

    here is a word doc that should walk you through it....
    Attached Files Attached Files

  19. #19
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Text to Date Format

    @ judgeh59

    Nice, keep up the good work!

  20. #20
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Text to Date Format

    @ Kevin Thanks....and thanks for the text to Column heads up....I like it....

  21. #21
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Text to Date Format

    Hi,

    I have tried the same earlier and now also but it is not working. Can you take my remote desktop and try it on this Sunday.

  22. #22
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Text to Date Format

    Sunday's don't work for me.....and it's against my companies policy to do remote desktops outside our networks....explain "not working"....it's not converting to a real date? or it's not changing the format to dd-mmm-yyyy?....

  23. #23
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Text to Date Format

    Oops!

    its not converting to a real date.

  24. #24
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Text to Date Format

    Oops!

    its not converting to a real date.

  25. #25
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Text to Date Format

    please upload the file after your have tried to convert it using Text to Column.....we'll figure this out.....

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1