You can use the custom formula function in Google Sheets to apply conditional formatting to cells that have a value between two specific values.
The following example shows how to use the custom formula function in practice.
Example: Conditional Formatting Between Two Values in Google Sheets
Suppose we have the following dataset in Google Sheets:
Suppose we’d like to highlight each of the cells in the Team column where the corresponding value in the Points column is between 12 and 20.
To do so, we can highlight the cells in the range A2:A11, then click the Format tab, then click Conditional formatting:
In the Conditional format rules panel that appears on the right side of the screen, click the Format cells if dropdown, then choose Custom formula is, then type in the following formula:
=AND(B2>=12, B2
Once you click Done, each of the cells in the Team column where the corresponding value in the Points column is between 12 and 20 will automatically be highlighted:
By default, Google Sheets uses a light green background as the conditional formatting style.
However, you change the conditional formatting to appear however you’d like by changing the default settings in the Formatting style box.
Additional Resources
The following tutorials explain how to perform other common tasks in Google Sheets:
Google Sheets: Conditional Formatting if Another Cell Contains Text
Google Sheets: Conditional Formatting if Another Cell is Not Empty
Google Sheets: Conditional Formatting from Another Sheet
Google Sheets: Conditional Formatting Based on Checkbox