+ Reply to Thread
Results 1 to 10 of 10

Changing date format not working no matter what I try

  1. #1
    Registered User
    Join Date
    06-03-2018
    Location
    Nova Scotia, Canada
    MS-Off Ver
    365; Excel v2205 (Build 15225.20288)
    Posts
    9

    Changing date format not working no matter what I try

    The dates in a column look like this: 06/03/18 (ie, June 3, 2018)

    I would like to change the formatting to 18/06/30 (ie, 2018 June 3) or even 18-06-03, whatever is doable.

    I've tried the various 'Format Cells...' options, including the custom options, but the dates never change. I've Googled for solutions but the ones offered aren't working for me.

    Now I've become sad on a Sunday afternoon. Can anyone make me smile again?

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,494

    Re: Changing date format not working no matter what I try

    that sounds a lot like the cell values look like dates but are text

    if the dates are in column A try datevalue(A1) in column B or any other empty column to see if that will convert to a number that can be reformatted in your desired date format

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,328

    Re: Changing date format not working no matter what I try

    Hi Joel,

    I agree with Roel above. To see if the cell is text or a number use the "=IsNumber()" function. Dates are really numbers. They are the number of days since 1/1/1900. If the formula says they are text then convert them using the DateValue() function.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,811

    Re: Changing date format not working no matter what I try

    Try

    Highlight column with Dates ==>Data ==>Text to Columns ==Step 3 ==> select DMY==>Finish

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,767

    Re: Changing date format not working no matter what I try

    If the dates are real dates check for conditional formatting

  6. #6
    Registered User
    Join Date
    06-03-2018
    Location
    Nova Scotia, Canada
    MS-Off Ver
    365; Excel v2205 (Build 15225.20288)
    Posts
    9

    Re: Changing date format not working no matter what I try

    Thanks for all the input (pun intended ). I'm not very familiar with formulas and functions, etc., so the above will take some self-education. In the meantime, however, the main problem is that I can't get the column to stop being text. I try the following:

    1. Right click a cell
    2. choose 'Format Cells...'
    3. choose the Date option
    4. select the desired format from the list
    5. click OK.

    Nothing changes. Even if I double click the cell and hit Enter (a suggestion from somewhere else), no change.

    1. Right click a cell
    2. choose 'Format Cells...'
    3. choose the Custom option
    4. select the desired format from the list OR type one in myself
    5. click OK.

    Still no change.

    I've tried to set the format in an unused cell, but can't do it there, either.

    I did try using the formulas you all mentioned, Googling how to use them, but not getting the hang of it/not fully understanding how they work. I have 125 rows to edit, so doing them manually is not ideal.

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,328

    Re: Changing date format not working no matter what I try

    Hi Joel,

    Try this:
    say your TextDates are in column D. In a new blank column starting at the top date row, =DateValue(D1) and press enter. Then grab the bottom right corner of this cell and pull it down for all the rows you have your TextDate. THEN - Copy that formula column and PASTE it OVER those dates using "Values ONLY". Then you can delete the column you just created.

    Hope you can do these steps.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Changing date format not working no matter what I try

    Formatting is generally a cosmetic change and does not alter the underlying cell contents (unless you change something TO text format). So changing the format of a cell (to anything else) that is already formatted as text will have no affect on the cell itself - you cannot change a text date to a real date just by changing the formatting, you need to physically change the cell contents.

    If you tried the test from post #3 and got a FALSE answer, then you have a TEXT date and need to convert it.
    1 way (if you have a lot of dates) is to use the suggestion in post #4. If you only have 2 or 3, just retype them (make sure to change the format 1st though)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  9. #9
    Registered User
    Join Date
    06-03-2018
    Location
    Nova Scotia, Canada
    MS-Off Ver
    365; Excel v2205 (Build 15225.20288)
    Posts
    9

    Re: Changing date format not working no matter what I try

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Quote Originally Posted by JohnTopley View Post
    Try

    Highlight column with Dates ==>Data ==>Text to Columns ==Step 3 ==> select DMY==>Finish
    This worked for the majority of the dates, and had to manually change the rest. Thank you.

    Quote Originally Posted by MarvinP View Post
    Hi Joel,

    Try this:
    say your TextDates are in column D. In a new blank column starting at the top date row, =DateValue(D1) and press enter. Then grab the bottom right corner of this cell and pull it down for all the rows you have your TextDate. THEN - Copy that formula column and PASTE it OVER those dates using "Values ONLY". Then you can delete the column you just created.

    Hope you can do these steps.
    Followed the steps exactly, and got the following result (with March 17, 2009 being some random date unrelated to the data I have), which means I either still did something is seriously wrong with that column! lol
    Please Login or Register  to view this content.
    Quote Originally Posted by FDibbins View Post
    If you tried the test from post #3 and got a FALSE answer, then you have a TEXT date and need to convert it.
    1 way (if you have a lot of dates) is to use the suggestion in post #4. If you only have 2 or 3, just retype them (make sure to change the format 1st though)
    Aha yes, I looked at post #4 again, which was slightly cryptic but I figured it out, and got the dates changed with some manual changing needed. Thanks!

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Changing date format not working no matter what I try

    Good stuff, thanks for getting back to us

+ 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] Changing US date format to UK format - using a formula
    By menolas in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 10-27-2016, 07:07 AM
  2. Comparing 2 cells no matter what format
    By JimmyA in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2012, 09:11 AM
  3. Working out figures no matter what
    By Cmorgan in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 06-05-2011, 07:51 AM
  4. Get Date Parts no matter format or length
    By Jasrenkai in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-19-2011, 01:17 PM
  5. Replies: 3
    Last Post: 01-26-2009, 07:43 PM
  6. [SOLVED] I get 0:00 when I format cells 4 time no matter what # I enter
    By Mardy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-22-2005, 05:45 PM
  7. [SOLVED] changing date format not working
    By RickSenn in forum Excel General
    Replies: 2
    Last Post: 06-15-2005, 02:05 PM

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