Table of Contents
Conditional formatting is a feature in Microsoft Excel that allows users to automatically apply formatting to cells based on certain criteria. By using this feature, it is possible to highlight cells that fall between two specified values. This means that if the data in a cell meets the specified conditions, such as being greater than or less than a certain value, it will be formatted in a specific way. This can be useful for quickly identifying and analyzing data within a spreadsheet. To apply conditional formatting in Excel, users can use the “Highlight Cells Rules” option and specify the desired criteria and formatting style. This feature can help to save time and improve the visual representation of data in Excel.
Excel: Apply Conditional Formatting if Between Two Values
Often you may want to apply conditional formatting to cells whose values fall between two specific values in Excel.
The following example shows exactly how to do so.
Example: Conditional Formatting if Between Two Values
Suppose we have the following dataset that contains information about various basketball teams:

Suppose we would like to highlight each value in the points column where the value is between 10 and 20.
To do so, highlight the values in the range B2:B14, then click the Conditional Formatting icon on the Home tab, then click Highlight Cells Rules, then Between:

In the new window that appears, choose 10 as the lower value and 20 as the upper value:

One you click OK, the values in the points column that fall between 10 and 20 will automatically be formatted with a light red background and dark red text:

Note that you can also choose a different format for the cells.
For example, you could choose to format the cells using a green background with dark green text:

You can also choose Custom Format to specify a custom format style for the cells:

Additional Resources
The following tutorials explain how to perform other common tasks in Excel:
How to Apply Conditional Formatting if Cell Contains Text in Excel
Cite this article
stats writer (2024). How can I apply conditional formatting in Excel to highlight cells if they fall between two specified values?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-excel-to-highlight-cells-if-they-fall-between-two-specified-values/
stats writer. "How can I apply conditional formatting in Excel to highlight cells if they fall between two specified values?." PSYCHOLOGICAL SCALES, 30 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-excel-to-highlight-cells-if-they-fall-between-two-specified-values/.
stats writer. "How can I apply conditional formatting in Excel to highlight cells if they fall between two specified values?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-excel-to-highlight-cells-if-they-fall-between-two-specified-values/.
stats writer (2024) 'How can I apply conditional formatting in Excel to highlight cells if they fall between two specified values?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-excel-to-highlight-cells-if-they-fall-between-two-specified-values/.
[1] stats writer, "How can I apply conditional formatting in Excel to highlight cells if they fall between two specified values?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How can I apply conditional formatting in Excel to highlight cells if they fall between two specified values?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
