+ Reply to Thread
Results 1 to 8 of 8

Unable to change format of all cells

  1. #1
    Registered User
    Join Date
    01-20-2010
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Unable to change format of all cells

    I'm trying to change the format of dates in one column, but not all the cells in that column responds to the change.

    any help is appreciated

    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Unable to change format of all cells

    Try selecting one section of dates that aren't formatting within the column...

    Go to Data|Text to Columns... then skip to the 3rd window and select Date and DMY in the column data format area.. click Finish.

    repeat for each unformatted section..
    Last edited by NBVC; 01-20-2010 at 05:46 PM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-20-2010
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Unable to change format of all cells

    i tried that, didnt work...the dates in the cells are in the format dd/mm/yy, unless i re-type it in the format yy/mm/dd, it wont change. i attached the file so feel free to take a look

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Unable to change format of all cells

    I did test it with your file...

    Remember to select only the first range of cells up to the point where the dates are okay, then in the 3rd dialogue, you have to choose DMY beside the Date option in the Column Data Format area....

  5. #5
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Unable to change format of all cells

    How about =DATE(RIGHT(A1,4),MID(A1,FIND("/",A1)+1,LEN(A1)-5-FIND("/",A1)),LEFT(A1,FIND("/",A1)-1)) then copy->paste special as values over itself and delete A.

    You'll have to start over because it won't work on those that Excel has already changed, but it changed them to the wrong dates anyway.

    Another option is to change your regional settings so that the date is read in the European way.

    *Edit: tested with NBVC's approach and it works. Go with his.

  6. #6
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Unable to change format of all cells

    Worked fine for me following NBVC's steps. See attached.
    Attached Files Attached Files
    Remember what the dormouse said
    Feed your head

  7. #7
    Registered User
    Join Date
    01-20-2010
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Unable to change format of all cells

    ok now it works, thanks nvbc!!

  8. #8
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Unable to change format of all cells

    ok now it works,
    Must have been the moon cycle or improper alignment of the planets.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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