+ Reply to Thread
Results 1 to 4 of 4

6 digit code to date

  1. #1
    Registered User
    Join Date
    08-05-2004
    Posts
    4

    6 digit code to date

    I have many dates in a column in a 6 digit format such as:

    950223
    950224
    950225
    These dates are Feb 23, 1995; Feb 24, 1995 etc.

    How can I convert these dates in the column to 2/23/1995, 2/24/1995 etc?

    Thanks in advance for any help.
    Last edited by wawa; 12-08-2009 at 08:06 PM.

  2. #2
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Valrico, FL USA
    MS-Off Ver
    Excel 2016
    Posts
    358

    Re: 6 digit code to date

    If your numbers start in A1, try the following formula in cell B1 and copy it down.

    Please Login or Register  to view this content.
    Then Date format B1.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: 6 digit code to date

    Or =(19 + (A1<300000) & TEXT(A1, "00-00-00") )+0
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    08-05-2004
    Posts
    4

    Re: 6 digit code to date

    Wow:

    That was fast; and it worked!!

    Thanks very much

+ 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