+ Reply to Thread
Results 1 to 4 of 4

Help with matching dates using Conditional Formatting.

  1. #1
    Forum Contributor
    Join Date
    08-26-2010
    Location
    Poplar Bluff MO
    MS-Off Ver
    Excel 2016
    Posts
    101

    Help with matching dates using Conditional Formatting.

    I have the date of Overtime in one column. If any of those dates in Column B match a Saturday Date in Column J, I would like for it to be highlighted. I have attached a sample spreadsheet. I highlighted 3 cells that I would like for the conditional formatting to find and highlight.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,139

    Re: Help with matching dates using Conditional Formatting.

    try using
    =WEEKDAY(B2,1)=7

    weekday returns a number based on day of week for that date
    the 1, you can enter various options on what day to use a 1
    1 = sunday = 1
    2 = monday =1

    is column J just to find Saturdays ? or are those the only Saturdays you want to match ?

    you could also use a countif()
    =COUNTIF($J$2:$J$36,B2)>0
    Attached Files Attached Files
    Last edited by etaf; 12-21-2021 at 11:10 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Help with matching dates using Conditional Formatting.

    Done:

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

  4. #4
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,999

    Re: Help with matching dates using Conditional Formatting.

    =AND(ISNUMBER(MATCH(B2,$J$2:$J$100,0)),WEEKDAY(B2,2)=6)

    applies to =$B$2:$B$100

+ 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] Challenging conditional formatting (matching dates)
    By tml2424 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-19-2021, 04:24 PM
  2. [SOLVED] Conditional Formatting by matching dates
    By Mike G. in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-05-2021, 12:05 PM
  3. Replies: 5
    Last Post: 12-03-2020, 01:45 PM
  4. Conditional formatting: not matching
    By akkerstad in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-06-2014, 01:12 PM
  5. Replies: 11
    Last Post: 05-04-2014, 08:28 PM
  6. Conditional Formatting with approaching due dates and completed dates
    By rogernation in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-13-2013, 04:12 PM
  7. 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