Conditional format - specific text

Formula11

Active Member
Joined
Mar 1, 2005
Messages
440
Office Version
  1. 365
Platform
  1. Windows
Is it possible to format cells which contain specific text, for more than 1 instance.

Tried this with formula but no good.

Excel Formula:
=ISNUMBER(OR(SEARCH("test1",A1),SEARCH("test2",A1)))
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Yes.
You would need to reposition the ISNUMBER as shown in column A below.
Or you could use the simpler formula as shown in column C.

23 06 04.xlsm
ABC
1abcabc
2test1test1
3This cell contains test2This cell contains test2
4
5test3test3
6*test1**test1*
CF
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C1:C6Expression=COUNT(SEARCH("test1",C1),SEARCH("test2",C1))textNO
A1:A6Expression=OR(ISNUMBER(SEARCH("test1",A1)),ISNUMBER(SEARCH("test2",A1)))textNO
 
Upvote 0
Solution
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,215,986
Messages
6,128,115
Members
449,423
Latest member
Mike_AL

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