+ Reply to Thread
Results 1 to 4 of 4

Bank Holidays - conditional formatting and 'blanking'

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    Colchester, England
    MS-Off Ver
    Excel 2007
    Posts
    21

    Bank Holidays - conditional formatting and 'blanking'

    Hi all,

    Can I just say thanks to all the contributors on here, great great help. Is there a way I can donate?

    Right, so I've nearly get there but I'm just having trouble with bank holidays on my scheduler (attached). Basically, all I need to do now is:

    a) If a 'Work Date' is a bank holiday, for example 01/01/15, I'd like it to conditionally format in the same way as weekend dates are conditionally formatted.

    b) If a 'Work Date' is a bank holiday, I'd like the corresponding 'Deadline' to go blank in the same way as it does when the 'Work Date' is a weekend.

    Please can you help? I've tried the obvious COUNTIF solution on both but have had no joy.
    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: Bank Holidays - conditional formatting and 'blanking'

    It would be much better to list your bank holidays in a single column rather than blocking them out by years as you have done. I have done that to demonstrate one solution. This solution reorganizes your bank holiday list into a single column, and uses conditional formatting to outline the dates for each year. It creates a named formula to identify this list. It and modifies your existing conditional formatting formula to search for the date in that list, and uses the same logic to update the formula that determines whether to show a blank.

    I have added a fake bank holiday of 1/9/2014 to illustrate, because you have no bank holidays in the months that you show.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    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: Bank Holidays - conditional formatting and 'blanking'

    On further reflection, I believe your bank holiday list can be left intact with the use of COUNTIF as you suggested. If you prefer to go that route let me know and I can make an update.

  4. #4
    Registered User
    Join Date
    06-04-2013
    Location
    Colchester, England
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Bank Holidays - conditional formatting and 'blanking'

    Thanks, that's great :D

+ 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] Autofill Dates Excluding Bank Holidays & Weekends
    By sunshine82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-26-2014, 07:14 AM
  2. holiday calculation around bank holidays
    By y0rk1e72 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-19-2012, 06:55 AM
  3. [SOLVED] Dates, Bank Holidays and a Working Week
    By jennyaccord in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2012, 04:43 AM
  4. Bank Holidays when BH is day 1
    By daverat in forum Excel General
    Replies: 5
    Last Post: 04-07-2010, 09:24 AM
  5. Uk Bank Holidays
    By HDV in forum Excel General
    Replies: 1
    Last Post: 03-26-2007, 09:00 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