Conditional Formatting with Formula

ksucats4me

New Member
Joined
Jun 28, 2008
Messages
27
This is probably an easy one.

I'm testing the use conditional formatting using a formula. The rule description is :

=C4=OR(C7,C9)

Where C4 is a drop down list selected from a list in C7:C8. Basically, to test, I'd like to make a selection in C4, and if that value is equal to the value in either C7 or C9, then change the fill color in a cell. If the value in C4 is anything other than these two options, leave the cell alone.

I know you can add additional rules and make this work. However, we have a longer drop down list that we want to use this on and it may be advantageous to be able to use the OR function to reference 10, 15, or 20 items out of a master list.

Appreciate any help or guidance.

Matt
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top