To make a more flexible, interactive conditional formatting rule, use other cells like variables in the formula.

You must use an absolute address for E2 and G2 to prevent these addresses from changing.

AND returns TRUEonly if all the conditions are met.

Excel formula: Highlight values greater than

If any conditions are not met, the AND function returns FALSE.

Excel formula: Highlight values not between X and Y

Excel AND function

Article image

Article image

Article image

Article image