+ Reply to Thread
Results 1 to 8 of 8

Changing Date Format from 2005-08-03 to 03/08/2005

Hybrid View

  1. #1
    Registered User
    Join Date
    04-04-2012
    Location
    Bronx
    MS-Off Ver
    Excel 2010
    Posts
    6

    Changing Date Format from 2005-08-03 to 03/08/2005

    I am trying to figure out how to change the date format for a large amount of fields. I need to change them from this

    2005-08-03
    2006-12-06
    2004-12-08

    to this

    03/08/2005
    06/12/2006
    08/12/2004

    I used this function to reverse the numbers =RIGHT(C7,4)&LEFT(C7,5) and get this 08-03 2005 and cant figure out how to get rid of the dash and the format it to read like 03/08/2005.

    Any help would be appreciated!

  2. #2
    Registered User
    Join Date
    10-22-2007
    Location
    Mumbai, India
    MS-Off Ver
    MS Excel 2007
    Posts
    59

    Re: Changing Date Format from 2005-08-03 to 03/08/2005

    i think simply by changing the format in the cell/column should work and if the column is in a text format try doing this:
    select the column and press Alt+D+E+F

    if this doesn't work then try this in the next column assuming the date is in cell b3 and you will put this formula in cells c3

    =DATE(LEFT(B3,4),MID(B3,6,2),RIGHT(B3,2))

  3. #3
    Registered User
    Join Date
    04-04-2012
    Location
    Bronx
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Changing Date Format from 2005-08-03 to 03/08/2005

    Thanks for the quick response. I just tried the bottom formula and it give me another date. This is the date in the field: 2004-04-15 and it gives me this 12/15/2099

  4. #4
    Registered User
    Join Date
    10-22-2007
    Location
    Mumbai, India
    MS-Off Ver
    MS Excel 2007
    Posts
    59

    Re: Changing Date Format from 2005-08-03 to 03/08/2005

    can you tell me what is the length of the cell you have 2004-04-15 stored into? (in case you need, you can check the length of the cell, by using a "len" function)

  5. #5
    Registered User
    Join Date
    04-04-2012
    Location
    Bronx
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Changing Date Format from 2005-08-03 to 03/08/2005

    the length of the field is 11

  6. #6
    Registered User
    Join Date
    04-04-2012
    Location
    Bronx
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Changing Date Format from 2005-08-03 to 03/08/2005

    I just realized that there is a space in the front of all the dates so that's why it is 11? Not sure why.
    Last edited by bmwx21; 04-04-2012 at 10:22 AM. Reason: spelling error

  7. #7
    Registered User
    Join Date
    10-22-2007
    Location
    Mumbai, India
    MS-Off Ver
    MS Excel 2007
    Posts
    59

    Re: Changing Date Format from 2005-08-03 to 03/08/2005

    no issues try this formula:

    =DATE(MID(B3,2,4),MID(B3,7,2),RIGHT(B3,2))

+ 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