+ Reply to Thread
Results 1 to 7 of 7

date/time column format stuck - will not change if literally changed

  1. #1
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    date/time column format stuck - will not change if literally changed

    guys,

    I have the col of data you see in image 1 below. the format is supposed to be dd/mm/yyyy. some of the data IS. however, in image 2 I am changing the bad cells via F1. and they do not change. see result in image 3. what could be causing this?
    Attached Images Attached Images

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: date/time column format stuck - will not change if literally changed

    Given they're left aligned, I’m going to guess (which is all I can do with a picture) that those cells are text, not a numeric Date/Time.

    Try using Text to Columns to convert them.
    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


  3. #3
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: date/time column format stuck - will not change if literally changed

    Well in all of those photos I was showing you guys that I literally tried to change the data type in the interface and that didn't work either. But I'll try text to columns and get back to you thanks

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: date/time column format stuck - will not change if literally changed

    Please try at J1

    =--(MID(TEXT(I1,"mm/dd/"),4,3)&REPLACE(TEXT(I1,"mm/dd/yyyy hh:mm:ss"),3,3,))

  5. #5
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: date/time column format stuck - will not change if literally changed

    text to cols worked folks. thanks much. it was seriously messed up. the employer obviously has no clue what they're doing.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: date/time column format stuck - will not change if literally changed

    You're welcome.

    If you've got text in a cell, it doesn't matter what it looks like, or what Custom format you use, it isn't going to change.

    If you'd posted a file, rather than a picture, I could have confirmed the diagnosis and tested a solution, or two. And others could have tested their solutions. It just makes life simpler and a solution more quickly available (and tested).


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: date/time column format stuck - will not change if literally changed

    Oh, and you're not changing the "data type", you're changing the way the underlying data is displayed. If it isn't numeric, you can't use a numeric format.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Change time in text to date/time format with AM/PM converted to 24hr
    By iantix in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-14-2018, 06:13 AM
  2. Need vba code to change date&time stamp as date format dd-mmm-yy in A:A rng
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-03-2014, 06:08 AM
  3. Replies: 9
    Last Post: 09-26-2012, 10:45 AM
  4. Replies: 5
    Last Post: 09-23-2012, 08:51 AM
  5. Change system date and time format
    By elcaris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2008, 03:34 PM
  6. Date column changed to number format while concatenating
    By Biju Jacob in forum Excel General
    Replies: 1
    Last Post: 06-12-2006, 02:15 PM
  7. [SOLVED] how do I format cells to change date and time to just date
    By bondam in forum Excel General
    Replies: 3
    Last Post: 07-03-2005, 09:05 AM

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