+ Reply to Thread
Results 1 to 3 of 3

Challenging conditional formatting (matching dates)

  1. #1
    Registered User
    Join Date
    02-08-2020
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    66

    Challenging conditional formatting (matching dates)

    I have a spreadsheet (attached) where I want to highlight cells where dates match up for 2 scenarios: 1) I have 2 dates in column B and C and I want to highlight the cell where the month and year in a row match the month and year for the 2 dates; 2) I also want to highlight a cell where the month and year for a date in row 5 is 90 days prior to the month and date in column B.

    I have tried various conditional format logic but can't get it to work. Thanks for taking a look!
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Challenging conditional formatting (matching dates)

    In the attached, the SAMPLE sheets are your originals, and the copies have the solution.

    1:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    However, for #2 I think your example is wrong. On row 6, the date in column B is 5/6/2022. Ninety days prior is 2/5/2022, so that would match 2/1/2022. Your example shows 3/1/2022, which is only 66 days prior. My formula highlights the latest date that is at least 90 days prior.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    02-08-2020
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    66

    Re: Challenging conditional formatting (matching dates)

    This is perfect. Thank you!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Conditional Formatting by matching dates
    By Mike G. in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-05-2021, 12:05 PM
  2. Challenging data Matching
    By tseelu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2017, 02:53 PM
  3. Replies: 11
    Last Post: 05-04-2014, 08:28 PM
  4. Replies: 12
    Last Post: 01-18-2013, 05:23 AM
  5. Replies: 8
    Last Post: 04-10-2012, 11:40 AM
  6. Interesting and Challenging Sorting and Matching Problem
    By mrbojangles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2008, 01:27 PM
  7. [SOLVED] Conditional Format matching Dates,calendar
    By ufo_pilot in forum Excel General
    Replies: 3
    Last Post: 07-31-2006, 08:05 AM

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