Conditional format - specific text

Formula11

Active Member
Joined
Mar 1, 2005
Messages
468
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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
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,223,881
Messages
6,175,161
Members
452,615
Latest member
bogeys2birdies

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