Let me explain you that what wrong you did with your formulas used for conditional formatting.
You applied conditional formatting rule for entire column S i.e. $S:$S. And for each cell in col. S, the formula should look for values in corresponding cells in cols. J. L. N and Q.
When you applied a conditional formatting for a range, the formula should always refer to the first cell of that range where you want to set conditional formatting.
In col. $S:$S, the first cell is S1 and corresponding dependent cells are J1, L1, N1 and Q1 so your formula should be like this.....
=AND($J1="YES",$L1="YES",$N1="NO",$Q1="NO")
This formula is applied to cell S1 (being the first cell in the range) and checks the row 1 in the referenced cols and and if meets the criteria the S1 will be filled with desired color.
Now what you did, you used the following formula for conditional formatting.....
=AND($J2="YES",$L2="YES",$N2="NO",$Q2="NO")
and since this formula is applied to the range $S:$S, it will first check for cell S1 and look into row 2 of the referenced cols. J, L, N and Q i.e. J2, L2, N2 and Q2. So if J2, L2, N2 and Q2 are true as per the conditions, the conditional formula will color the cell S1 (being the first cell in the range for which this conditional formula is applied), which you would not want certainly.
Bookmarks