Forum Discussion

A2Z CF's avatar
A2Z CF
Brass Contributor
Sep 01, 2022
Solved

Formula

Greetings everyone, I’m trying to put a formula in Conditional Formatting to highlight when it’s the last Monday of the month or next working day if its holiday. I have a list of holidays in tab she...
  • HansVogelaar's avatar
    HansVogelaar
    Sep 03, 2022

    A2Z CF 

    If you want to highlight the next workday after Friday if Friday is a holiday:

     

    =TODAY()=WORKDAY(TODAY()+1-WEEKDAY(TODAY(),15)-1,1,Batch!$D$78:$D$87)

     

    For the 2nd or 4th Thursday of the month:

     

    =AND(TODAY()=WORKDAY(TODAY()+1-WEEKDAY(TODAY(), 14)-1, 1, Batch!$D$78:$D$87), OR(AND(DAY(TODAY()+1-WEEKDAY(TODAY(), 14))>7, DAY(TODAY()+1-WEEKDAY(TODAY(), 14))<15), AND(DAY(TODAY()+1-WEEKDAY(TODAY(), 14))>21, DAY(TODAY()+1-WEEKDAY(TODAY(), 14))<29)))

Resources