In the scenario below, the table contains random integer values.
I want to use conditional formatting in order to highlight the values in the table between the specified min and max values.
While I could hard-code 2 and 15, those are subject to change, and I'm primarily looking for a way to adjust the format rules so that they are reading the values in A2 and B2, not 2 and 15.

Example sheet

1 Answer 1


You can use the following formula under conditional formatting:


enter image description here

(Adjust ranges to your needs)

  • Welcome. Please remember that as per site guidelines when an answer addresses your question, accept it and even upvote it so others can benefit as well. Commented Jul 20, 2020 at 5:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.