Excel Conditional formatting issue

Copper Contributor

I am attempting to use conditional formatting in one cell (a protected cell) and have it highlight a different cell (an unprotected cell). The reason for this is I want the cell with the formula to be protected against accidental deletion/modification, and the unprotected cell is one of the cells in the formula. What I have tried to do is this:

=AND(A5<>"",A5>4,P5<1)

The condition is that cell A5 is not blank, and cell A5 is greater than 4, and cell P5 is less than 1. 

The conditional formatting exists in cell R5 and the formatting is to highlight the cell. It works fine on cell R5. What I have attempted to do is have the highlight NOT apply to cell R5, but apply to cell P5 (which is part of the formula). Currently the "applies to" value is $R$5. When I change the "applies to" value of the rule to =$P$5, the whole rule disappears. I need cell P5 to be unprotected so data can be entered.

 

Is there a different syntax to use to accomplish this?

Thanks

3 Replies
Please also post this in the excel forum, so you don’t miss out on the excel gurus who is hangin around in there!!

Adam

Sorry. I didn't see an Excel forum.

Did you find it?
Clicking communities up on the left!!

Adam