Conditional formatting with exception for partial word

valmir

Board Regular
Joined
Feb 10, 2021
Messages
239
Office Version
  1. 365
Platform
  1. Windows
Hello everyone:
I have a conditional formatting formula which I need to add an exception for partial text. In this case, in column C, the rule should not apply to any such value where there is a word that includes the partial word "missing", in the matching row in column B
In the attached example, the rule should not apply to cells C13 and C14.
Thanks!
Book7
ABC
1ACAPaulՅ
2COUzMissingCOUՁ
3DCHzMissingDCH
4DTACharles
5DTAMattՅ
6DTABeverly
7DVECarl
8DVEJo
9DVELothՏ
10FHLPedro
11MAMzMissingMAMՁ
12NACTed
13SAGzMissingSAGЧ
14SASzMissingSASЧ
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C1:C14Expression=(C1="Յ")textNO
C1:C14Expression=(C1="Ч")textNO
C1:C14Expression=(C1="Տ")textNO
 
Last edited:

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Like this?

23 07 23.xlsm
ABC
1ACAPaulՅ
2COUzMissingCOUՁ
3DCHzMissingDCH
4DTACharles
5DTAMattՅ
6DTABeverly
7DVECarl
8DVEJo
9DVELothՏ
10FHLPedro
11MAMzMissingMAMՁ
12NACTed
13SAGzMissingSAGЧ
14SASzMissingSASЧ
CF Not Missing
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C1:C14Expression=AND(OR(C1="Յ",C1="Ч",C1="Տ"),NOT(ISNUMBER(SEARCH("Missing",B1))))textNO
 
Upvote 0
Solution
Like this?

23 07 23.xlsm
ABC
1ACAPaulՅ
2COUzMissingCOUՁ
3DCHzMissingDCH
4DTACharles
5DTAMattՅ
6DTABeverly
7DVECarl
8DVEJo
9DVELothՏ
10FHLPedro
11MAMzMissingMAMՁ
12NACTed
13SAGzMissingSAGЧ
14SASzMissingSASЧ
CF Not Missing
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C1:C14Expression=AND(OR(C1="Յ",C1="Ч",C1="Տ"),NOT(ISNUMBER(SEARCH("Missing",B1))))textNO
Perfect! Thanks a lot! I really tried hard (was almost there!) and learning a lot with you guys. Thank you so much! :biggrin: 👏👏👏
 
Upvote 0
You're welcome. Glad it helped. Thanks for the follow-up. :)

This is slightly shorter.

23 07 23.xlsm
ABC
1ACAPaulՅ
2COUzMissingCOUՁ
3DCHzMissingDCH
4DTACharles
5DTAMattՅ
6DTABeverly
7DVECarl
8DVEJo
9DVELothՏ
10FHLPedro
11MAMzMissingMAMՁ
12NACTed
13SAGzMissingSAGЧ
14SASzMissingSASЧ
CF Not Missing
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C1:C14Expression=AND(OR(C1="Յ",C1="Ч",C1="Տ"),ISERR(SEARCH("Missing",B1)))textNO
 
Upvote 0

Forum statistics

Threads
1,215,352
Messages
6,124,451
Members
449,161
Latest member
NHOJ

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