18.4 C
London
Wednesday, June 18, 2025
HomeSoftware TutorialsExcelExcel: Apply Conditional Formatting with Multiple Conditions

Excel: Apply Conditional Formatting with Multiple Conditions

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

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

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 here.

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
How to Find the Top 10% of Values in an Excel Column
How to Find the Top 10 Values in a List in Excel
How to Find Unique Values from Multiple Columns in Excel

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories