by Allen Wyatt
(last updated February 2, 2019)
You are not limited to a single test condition when using conditional formatting. Excel allows you to specify up to three conditions in the Conditional Formatting dialog box. To set multiple conditions, all you need to do is click on the Add button after you are done with each condition. Excel then expands the dialog box and allows you to enter another test and associated format.
This capability comes in handy when you want to test a cell for multiple specific values. For instance, let's say you wanted to apply different formatting when a particular cell's value was equal to either 200, 350, or 500. Excel makes this easy, simply by using multiple conditions.
If you decide to define multiple conditions, each condition is independent of the other. If you want more complex conditions, using Boolean operators such as AND or OR, then you should set up a formula for your conditional test, as described in other ExcelTips.
At some time while you are developing your conditional tests, you may want to delete one of the conditions. Excel makes this easy. All you need to do is click on the Delete button in the Conditional Formatting dialog box. If you have multiple conditions defined, Excel displays the Delete Conditional Format dialog box. Select which of your conditions you want deleted, and then click on the OK button. You can then continue to work in the Conditional Formatting dialog box, as desired.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2796) applies to Microsoft Excel 97, 2000, 2002, and 2003.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
Conditional formatting is a great way to make sure that your information looks a particular way, even if the information ...Discover More
If you want to apply a conditional format to data imported into Excel from Access, you may run into some difficulties ...Discover More
Conditional formatting is a great feature for making the data in your worksheets more understandable and usable. What if ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.