+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting - Skipping Weekends

Hybrid View

  1. #1
    Registered User
    Join Date
    01-13-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2004 - MAC
    Posts
    2

    Wink Conditional Formatting - Skipping Weekends

    I want to create a conditional format that skips the weekend.

    Example - Project is due within 2 business days it turns the cell box green.

    Sample with me using the Today()+1 and Today()+2 Function

    ExcelSS.jpg


    Any help would be greatly appreciated!

    Thanks

    R

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Conditional Formatting - Skipping Weekends

    Hi,

    Try this formula to activate your conditional formatting

    =AND(NOT(ISBLANK(A1)),NETWORKDAYS(TODAY(),A1)<=2)
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    01-13-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2004 - MAC
    Posts
    2

    Re: Conditional Formatting - Skipping Weekends

    Quote Originally Posted by sweep View Post
    Hi,

    Try this formula to activate your conditional formatting

    =AND(NOT(ISBLANK(A1)),NETWORKDAYS(TODAY(),A1)<=2)

    Thank you for the post but I receive the following when I entered the formula listed above into the Conditional Formatting:

    You may not use references to other worksheets or workbooks for Conditional Formatting criteria.

  4. #4
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Conditional Formatting - Skipping Weekends

    Is the NETWORKDAYS function available to you? Do you have the analysis tookpak installed?

+ 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