Relative Content

Tag Archive for google-sheetsconditional-formatting

How do I use contents of one cell to modify the conditional formatting of another cell?

I have a table of cells filled with either Y or N. I want the contents of the Y/N table to determine which columns are included in a subsequent content matching check. The desired rule would produce the following behaviors:
If A1, B1, and C1 all contain Y, I want $E5 to display whether the contents of $A5, $B5, and $C5 all match.
If A2 and B2 contain Y but C2 contains N, I want $F5 to display whether the contents of $A5 and $B5 match.
If A3 and C3 contain Y but B3 contains N, I want $G5 to display whether the contents of $A5 and $C5 match.DESIRED OUTPUTS