+ Reply to Thread
Results 1 to 2 of 2

Date entry where part of date is unknown

  1. #1
    Registered User
    Join Date
    04-20-2011
    Location
    Cambridge England
    MS-Off Ver
    Excel 2010
    Posts
    1

    Date entry where part of date is unknown

    Hello

    I am cataloguing letters. I have full day-month-year information for most, but:

    -- a few have only a month and year (e.g. 11/1933)
    -- a few have only a year

    How can I enter these so that, when I sort by date, they appear in the appropriate place, e.g.

    07/09/1933
    10/1933 (day of month unknown)
    02/10/1933
    1934 (day and month unknown)
    27/04/1934

    You will see from the above that I am using European date format; I don't know whether that makes a difference.

    Thanks,

    Mary

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Date entry where part of date is unknown

    perhaps you can try adding a helper column with formula:

    =IF(LEN(A2)=4,DATE(A2,1,1),DATE(YEAR(A2),MONTH(A2),DAY(A2)))

    where A2 contains first date... and then sort by that column.

    This replaces the date and/or month with 1's.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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