Working with Multiple Conditions

by Allen Wyatt
(last updated December 2, 2015)

5

When working with conditional formats, you'll often discover times when you need to apply multiple conditions to a single cell. How you define a single condition is described in other ExcelTips, but Excel allows you to define many conditions that can all apply to the same cell or range of cells.

Begin by selecting the cells for which you want to define conditional formatting rules. Then, with the Home tab of the ribbon displayed, click Conditional Formatting in the Styles group. From the resulting list of options, select Manage Rules. Excel displays the Conditional Formatting Rules Manager. (See Figure 1.)

Figure 1. The Conditional Formatting Rules Manager.

The Conditional Formatting Rules Manager is nothing but a list of the rules which have been defined for the selected cells. Each rule is shown on a separate line, and you can work with the rules by clicking one of the available buttons:

  • New Rule. Allows you to define a new rule, which is added to the end of the rules list. Defining a new rule uses the same procedures described in other ExcelTips.
  • Edit Rule. Make changes to the selected rule.
  • Delete Rule. Remove the selected rule so it no longer applies to the selected cells.
  • Up Arrow. Move the selected rule up in the list of rules.
  • Down Arrow. Move the selected rule down in the list of rules.

Rules are always evaluated in the order in which they appear in the Conditional Formatting Rules Manager. You can modify the evaluation order by using the up and down arrow tools.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6755) applies to Microsoft Excel 2007 and 2010.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Superscript and Subscript at the Same Place

Do you want a superscript and subscript character to appear directly above each other without using the Equation Editor? ...

Discover More

Moving Custom Formats to Number Formatting Categories

Moving your custom formats into a formatting category other than "custom" isn't something you can do in Excel. Here's ...

Discover More

Rounding to Two Significant Digits

Excel provides a variety of functions you can use to round values in any number of ways. It does not, however, provide a way ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Conditionally Formatting for Multiple Date Comparisons

When you compare dates in a conditional formatting rule, you need to be careful how you put your comparisons together. Do it ...

Discover More

Conditional Format that Checks for Data Type

Conditional formatting can be used to highlight cells that contain the improper type of data for your needs. This tip ...

Discover More

Applying Conditional Formatting to Multiple Worksheets

If you just updated your copy of Excel, you may have noticed some differences in how the program handles applying conditional ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 8Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 7 - 0?

2015-12-03 09:26:50

David

@ balthamossa2b

Yes, there are many nice features, semi-buried, in Conditional Formatting.

I was referring to the more mundane aspect of % format. I do NOT like 100.00% nor 0.000% being displayed, so I use conditional formatting to get 100% and 0% instead. Stop If True was nice to handle very small percentages, less than .9999, in different ways


2015-12-03 05:10:12

balthamossa2b

@David

Excel 2007+ allows you to color grade number scales (like percentages) in a single Conditional Formatting, to simplify things. Never have used it though.


2015-12-02 10:17:12

Shandor

I agree with balthamossa2b; a user friendly builder for Case statements would revolutionize Excel!


2015-12-02 10:07:12

David

Surprised there is no mention "Stop if True" is a nice feature that further allows you to further prioritize your formats. Coincidentally, I was just applying multiple conditions, in order to display percentages in a more desirable manner, and made use of Stop If True ...


2015-12-02 07:15:08

balthamossa2b

I often regret how Excel doesn't have a native Select Case function outside VBA. It would make formulas and Conditional Formatting so much easier.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.