+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting Around Weekends

  1. #1
    Registered User
    Join Date
    12-19-2013
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    2

    Conditional Formatting Around Weekends

    I'm trying to set up a list of employees and dates in two separate columns. The date column represents the date we need to call an employee. I'd like the employee's name cell to fill "red" if the date is equal to the current date, or if it is Friday and the date is on the Saturday, Sunday or Monday upcoming, to turn red. We need to reach out to our employees before their shifts, and the office is not open on the weekends. Is there a simple way to do this?

    Should I use the networksdays function on this?

    Thanks for your help!

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Conditional Formatting Around Weekends

    You should be able to do this by using the TODAY and WEEKDAY function.
    Uploading a sample workbook, and manually highlighting certain scenarios to help illustrate what you would want conditionally formatted would be a good idea.
    Please click the * icon below if I have helped.

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Conditional Formatting Around Weekends

    I had my names in A, dates in B and set the formatting to:

    =IF(OR($B2=TODAY(),AND(WEEKDAY(TODAY(),2)=5,OR(WEEKDAY($B2+1,2)=6,WEEKDAY($B2+1,2)=7,WEEKDAY($B2+1,2)=1))),TRUE,FALSE)
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  4. #4
    Registered User
    Join Date
    12-19-2013
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Conditional Formatting Around Weekends

    Thanks daffodil11. The problem with this is it highlights all the weekend days. I only need the current week to turn red. The idea being that my staff would only call out to those employees who are red that week. Any thoughts?
    Attached Images Attached Images

+ 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. Conditional Formatting to exclude weekends
    By slantin in forum Excel General
    Replies: 6
    Last Post: 08-13-2013, 11:27 AM
  2. Conditional Formatting weekends
    By IKZOUHETNIETWETEN in forum Excel General
    Replies: 7
    Last Post: 02-22-2013, 01:58 AM
  3. [SOLVED] Conditional Formatting - shading weekends
    By jennbates in forum Excel General
    Replies: 2
    Last Post: 05-03-2012, 02:37 PM
  4. Conditional Formatting - Skipping Weekends
    By RJodoin28 in forum Excel General
    Replies: 3
    Last Post: 01-16-2012, 04:28 AM
  5. Conditional formatting for weekends
    By monozoli in forum Excel General
    Replies: 2
    Last Post: 04-13-2008, 01:44 PM

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