Use Conditional Formatting to to Highlight Cells with Specific text and IF formula condition

mminchev

New Member
Joined
Feb 16, 2018
Messages
23
I have 3 cells that I am looking at:

Contact Name
Name Word Count
Name Fix
John John Doe3John Doe
Bear Bear Joe3Bear Joe

What I need is to run Conditional Formatting formula to highlight the CONTACT NAME column if the number in the NAME WORD COUNT column is equal to 3 and if the text in the NAME FIX column is contained in the CONTACT NAME column. I really appreciate any help on this, its one of those that we all get stuck on sometimes, but I am sure has a simple solution.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Book1
ABC
1Contact NameName Word CountName Fix
2John John Doe3John Doe
3Bear Bear Joe3Bear Joe
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A3Expression=AND($B2=3;ISNUMBER(FIND($C2;$A2)))textNO


Note the formula is case sensitive. If that's not required, this can be used instead
Excel Formula:
=AND($B2=3;ISNUMBER(SEARCH($C2;$A2)))
 
Upvote 0
Solution
Book1
ABC
1Contact NameName Word CountName Fix
2John John Doe3John Doe
3Bear Bear Joe3Bear Joe
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A3Expression=AND($B2=3;ISNUMBER(FIND($C2;$A2)))textNO


Note the formula is case sensitive. If that's not required, this can be used instead
Excel Formula:
=AND($B2=3;ISNUMBER(SEARCH($C2;$A2)))
Worked great, thank you for your help!
 
Upvote 0
Most welcome. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,631
Messages
6,120,645
Members
448,974
Latest member
DumbFinanceBro

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