Forum Discussion

Julli_Einarsson's avatar
Julli_Einarsson
Copper Contributor
Jul 26, 2023
Solved

Conditional Formatting controlled by Drop Down

Greetings,   I have a spreadsheet that has multiple tabs that display date ranges as blackout dates for various application deployment. What I want to do is to have a drop down on the main tab that...
  • Martin_Weiss's avatar
    Martin_Weiss
    Jul 27, 2023

    Hi Julli_Einarsson

     

    thanks for the screenshots. Ok, this is a bit of a challenge šŸ˜‰

    I prepared a proposal in the attached file. It requires that you maintain all the blackout date ranges in a single table, like this:

     

    This table gets loaded into Power Query and gets transformed to a list with all single blackout dates and then loaded back into Excel, like this:

    If you change or add apps or date ranges in the blue table, all you need to do is to refresh the green table with a right-click.

    That green table is then the base for the conditional formatting rules. As you have now every single relevant day per app, you can easily setup the appropriate rules, e.g.
    =COUNTIFS($R$5:$R$232,$B$2,$S$5:$S$232,A5)<>0

     

    I hope, this helps.

     

    Kind regards,

    Martin

Resources