+ Reply to Thread
Results 1 to 6 of 6

How to correct date format

  1. #1
    Registered User
    Join Date
    06-21-2013
    Location
    Israel
    MS-Off Ver
    Excel 2010
    Posts
    29

    How to correct date format

    I want to insert dates to my table as followed:
    mm/dd/yyyy.

    For now, I costumed the column to be set as such. However, while inserting new value - order of input is different - dd/mm/yyyy.
    Example:
    input: 29/09/2014
    output: 09/29/2014

    1. I want input to match the output, and not write one way and watch other (want to insert mm/dd/yyyy and watch the same).

    2. Also, I want to change format existing "opposite" values (dd/mm/yyyy) to mm/dd/yyyy. I manged to do so with left-mid-right functions, but later when pasting them as values - excel wouldn't recognize them as dates.

    See attached table. A more problematic dates are in the year of 2015 (line 1209 and down). Thorough explanation of solution will be much appreciated.

    Droriley
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-07-2015
    Location
    Vietnam
    MS-Off Ver
    Office 2013
    Posts
    89

    Re: How to correct date format

    Quote Originally Posted by Droriley View Post
    I want to insert dates to my table as followed:
    mm/dd/yyyy.

    For now, I costumed the column to be set as such. However, while inserting new value - order of input is different - dd/mm/yyyy.
    Example:
    input: 29/09/2014
    output: 09/29/2014

    1. I want input to match the output, and not write one way and watch other (want to insert mm/dd/yyyy and watch the same).

    2. Also, I want to change format existing "opposite" values (dd/mm/yyyy) to mm/dd/yyyy. I manged to do so with left-mid-right functions, but later when pasting them as values - excel wouldn't recognize them as dates.

    See attached table. A more problematic dates are in the year of 2015 (line 1209 and down). Thorough explanation of solution will be much appreciated.

    Droriley
    Do you set up the date in your computer, after that you format your data. I Think it is ok
    1. Control panel -> clock, langue, Region-> Change date, time, or number format -> in short date: MM/DD/YYYY -> aply-> OK
    2. format your data: Ctrl+1: choose: type: MM/DD/YYYY

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: How to correct date format

    if ninhmoon's suggestion doesn't work for you, this formula will convert them...
    =TEXT(MID(A1,4,2)&"/"&LEFT(A1,2)&"/"&RIGHT(A1,4),"mm/dd/yyyy")
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    06-21-2013
    Location
    Israel
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: How to correct date format

    Let me simplify my problem:
    I want all the values to be in the same format: mm/dd/yyyy
    Best if I can insert them the same way, but no must (PC set to dd/mm/yyyy - cannot be changed since it's company's server etc.)
    attention: not all values are now formatted the same way (example: line 1 is acting differently than line 1222 - check with "DATE" functions).
    Thanks

  5. #5
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: How to correct date format

    Not perfect, but try this.........



    regards
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-21-2013
    Location
    Israel
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: How to correct date format

    Quote Originally Posted by azumi View Post
    Not perfect, but try this.........



    regards
    Well Done! great solution. I only formatted the C column to mm/dd/yyyy for finish.
    Do you know any way of inserting date as mm/dd/yyyy, and let it appear the same, without adjust time setting in Win?

+ 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. VBA to compile correct date format.
    By GarrettH in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-22-2014, 11:03 AM
  2. date format not correct
    By thesnake505 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 06:10 PM
  3. [SOLVED] Converting 01.01.01 date to correct format
    By Dave350z in forum Excel General
    Replies: 4
    Last Post: 06-27-2012, 09:56 AM
  4. Replies: 3
    Last Post: 10-28-2010, 07:04 AM
  5. [SOLVED] How do I correct date format?
    By Chris in forum Excel General
    Replies: 1
    Last Post: 06-07-2006, 02:50 AM

Tags for this Thread

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