How can I apply conditional formatting with multiple conditions in Excel? 2

How can I apply conditional formatting with multiple conditions in Excel?

Conditional formatting in Excel allows users to automatically format cells based on certain conditions or criteria. This feature is useful for quickly highlighting important data or identifying trends in a large set of information. To apply conditional formatting with multiple conditions, users can use the “Conditional Formatting” tool and specify the desired conditions using formulas or preset rules. By adding multiple conditions, users can create more complex formatting rules and customize the appearance of their data. This feature is particularly useful for analyzing data sets with different variables and making data more visually appealing and easier to interpret.

Excel: Apply Conditional Formatting with Multiple Conditions


Often you may want to apply conditional formatting to cells based on multiple conditions in Excel.

The following example shows exactly how to do so.

Example: Conditional Formatting with Multiple Conditions

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 greater than 10 and less than 20.

To do so, highlight the values in the range B2:B14, then click the Conditional Formatting icon on the Home tab, then click New Rule:

In the new window that appears, click Use a formula to determine which cells to format, then type in the following formula into the box:

=IF(AND(B2>10, B2<20), TRUE, FALSE)

Then click the Format button and choose a fill color to use, then click OK:

Excel conditional formatting multiple conditions

Each value in the points column that is greater than 10 and less than 20 will automatically be highlighted:

Note: You can find the complete documentation for the AND function in Excel .

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 with multiple conditions in Excel?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-with-multiple-conditions-in-excel/

stats writer. "How can I apply conditional formatting with multiple conditions in Excel?." PSYCHOLOGICAL SCALES, 30 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-with-multiple-conditions-in-excel/.

stats writer. "How can I apply conditional formatting with multiple conditions in Excel?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-with-multiple-conditions-in-excel/.

stats writer (2024) 'How can I apply conditional formatting with multiple conditions in Excel?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-with-multiple-conditions-in-excel/.

[1] stats writer, "How can I apply conditional formatting with multiple conditions in Excel?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I apply conditional formatting with multiple conditions in Excel?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top