Conditional Formatting Help

Disarmonious

Board Regular
Joined
Oct 31, 2016
Messages
139
Hello,

I would like the text in cells CQ6:CQ45 to turn red when these words DO NOT appear in cells AA6:AA45;

"A: Apples (w/C)","A: Bananas","A: Oranges + Add","I: Sugarloafs","Q: Donuts"

I've tried using this formula in Conditional Formatting, and I'm stumped as to why it's not working.

=OR(AA6<>"A: Apples (w/C)",AA6<>"A: Bananas",AA6<>"A: Oranges + Add",AA6<>"I: Sugarloafs",AA6<>"Q: Donuts")
 

Attachments

  • 1607106083676.png
    1607106083676.png
    5.2 KB · Views: 2
  • 1607106330299.png
    1607106330299.png
    5.2 KB · Views: 4

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
You are welcome!

A lot of novices confuse when to use AND vs. OR, especially when the conditions are negative. You want the whole expression to be true only when ALL of the tests are TRUE, so you need AND. With OR only one of the tests has to be true. When all of your tests are for <>, at least one of them has to be true. So the version with OR is always TRUE for any value in the cell.
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,356
Members
449,080
Latest member
Armadillos

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