+ Reply to Thread
Results 1 to 5 of 5

CFormat for Stat Holidays not working right

  1. #1
    Valued Forum Contributor
    Join Date
    04-26-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    502

    CFormat for Stat Holidays not working right

    Morning Chaps,

    I'm having a small problem with Highlighting a row when a date is a Stat Holiday.

    On the example in yellow are the two formulas that I have tried, both will only colour Column 'A' even though I have the full range set in the CF Rule.

    Any ideas or pointing out what I am missing will be greatly appreciated.

    Employee Schedule-Vertical.xlsx

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

    Re: CFormat for Stat Holidays not working right

    Your formula should be:

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


    I think you just got your $ backwards. It should be $D6, so that the date being checked is always in column D, and in the same row to be highlighted.


    And a happy belated Canada Day!
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Spammer
    Join Date
    02-04-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    190

    Re: CFormat for Stat Holidays not working right

    like this look in row 10

  4. #4
    Valued Forum Contributor
    Join Date
    04-26-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    502

    Re: CFormat for Stat Holidays not working right

    Quote Originally Posted by 6StringJazzer View Post
    Your formula should be:

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


    I think you just got your $ backwards. It should be $D6, so that the date being checked is always in column D, and in the same row to be highlighted.


    And a happy belated Canada Day!
    Awesome: Worked a treat.

    Happy Freedom Day Sir

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,735

    Re: CFormat for Stat Holidays not working right

    Glad it helped!

    We call it Independence Day, or more commonly just July Fourth.

+ 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. calculate the working days and Holidays
    By sriku in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-13-2014, 02:03 PM
  2. [SOLVED] Working Hours - excluding weekends, holidays
    By CJENKSY in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2013, 02:12 AM
  3. Replies: 2
    Last Post: 06-14-2013, 10:45 AM
  4. Replies: 2
    Last Post: 09-20-2011, 07:01 PM
  5. non-working holidays
    By barkarlo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-25-2011, 06:17 PM

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