Conditional Formatting

Pauljj

Well-known Member
Joined
Mar 28, 2004
Messages
2,046
I need to format a cell in this case column I if a cell in this column contains the word "new" in any part of the text in that cell it should turn one colour otherwise if anything else is entered into this cell...other then "new" it should turn another colour.

Does anyone have any ideas ?

Cheers

Paul
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Paul

Select column I, goto conditional formatting, select Formula Is from the dropdown and enter a formula like this.

=ISNUMBER(SEARCH("new",I1))

And format as required.

Note this isn't case sensitive, if you need it to be case sensitive use FIND instead of search.
 
Upvote 0
you could use "formula is"

=SEARCH("new",A1)

although that will also then format cells containing "knew" or similar. Assuming you only have words and spaces (without punctuation) this is probably better

=SEARCH(" new "," "&A1&" ")

note that SEARCH is not case-sensitive, if you want to look for a specific case use FIND
 
Upvote 0

Forum statistics

Threads
1,203,436
Messages
6,055,372
Members
444,781
Latest member
rishivar

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