+ Reply to Thread
Results 1 to 6 of 6

Format Dates prior to 1900

  1. #1
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Format Dates prior to 1900

    I want to format some dates in a column that are from the late 1800's. I would like to have the format as follows, January 3, 1890. Using the excel format I can only get a format of 1/3/1890.

    Jim O
    Last edited by JO505; 10-20-2011 at 06:22 PM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Format Dates prior to 1900

    excel doesn't recognise dates before 1900 so you can't format those because they are treated as text - the entries will stay as they are entered - if you are using XDATE functions I think they may need to remain in a format that XDATE understands......
    Audere est facere

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Format Dates prior to 1900

    ...one possibility is to convert the date with a formula in another column, e.g. with "date" in J2 try this formula in the next column

    =SUBSTITUTE(TEXT(REPLACE(J2,LEN(J2)-3,2,22),"mmmm d, yyyy"),", 22",", 18")

    Assumes that year is in the 1800s......

  4. #4
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Format Dates prior to 1900

    That works, but as shown in the sample we have some problems.

    Jim O
    Attached Files Attached Files

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Format Dates prior to 1900

    OK, try this version

    =IF(ISERR(LEFT(J3)+0),J3,SUBSTITUTE(TEXT(IF(ISNUMBER(J3),J3,REPLACE(J3,LEN(J3)-3,2,22)),"mmmm d, yyyy"),", 22",", 18"))

  6. #6
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Format Dates prior to 1900

    That appears to be the ticket.

    Thanks for your time and rapid response.

    Jim O

+ 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