Help fixing my AND/OR formatting rule

Milos

Board Regular
Joined
Aug 28, 2016
Messages
121
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am just after a little help in fixing a formatting rule that I have written as a conditional format that I have written for QA work. Here is the code I have written:

=OR(AND(SEARCH("missing",K1),M1="No"),AND(SEARCH("lost",K1),M1="No"))

Basically I want the format to highlight when a certain cell down column M says 'No' and has corresponding cell in column K has text suggesting the reason either 'missing' or 'lost'. Currently the code allows me to enter the code, however the format fails when I generate the conditions of the rule.

Can anybody please help me fix this rule or advice me on a better way to apply a rule like this?

Thanks,
Milos
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Thanks Aladin! I could not think of a work around, this works perfectly.
 
Upvote 0

Forum statistics

Threads
1,214,922
Messages
6,122,281
Members
449,075
Latest member
staticfluids

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