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.
If any conditions are not met, the AND function returns FALSE.