+ Reply to Thread
Results 1 to 4 of 4

Best Way to Compare Dates

  1. #1
    Forum Contributor
    Join Date
    03-22-2012
    Location
    Narragansett, Rhode Island
    MS-Off Ver
    Excel 2007
    Posts
    122

    Best Way to Compare Dates

    Hi

    I have many worksheets with columns of end dates as illustrated on the attached file. I would like to use an Excel function to identify the dates that are not 31-Dec-04 in Column A. I thought I would create a duplicate column (Column B) of 31-Dec-04s and simply use conditional formatting>cell rules>duplicates but this approach seems to identify non 31-Dec-04 values that occur only once. 30-Jun-05 occurs several times in column A and it is not picked up by duplicates.

    Thanks in advance for your help.

    Al
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-22-2012
    Location
    IL
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Best Way to Compare Dates

    An If statement should work. If you keep both column a and b, entering this into column c =IF(A2=B2,"","Y"), a Y will appear for each date that is not 31dec04

  3. #3
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Best Way to Compare Dates

    Hi look into attachment - Conditional formatting
    Attached Files Attached Files
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Best Way to Compare Dates

    with a filter you can select the items 2005.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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