View Single Post
 
Old 03-15-2012, 02:44 AM
Colin Legg's Avatar
Colin Legg Colin Legg is offline Windows 7 32bit Office 2010 32bit
Expert
 
Join Date: Jan 2011
Location: UK
Posts: 369
Colin Legg will become famous soon enough
Default

I have attached a workbook with two conditional formatting examples.

Example 1

will hightlight E3:M31 if any of the cells have an exact match to any word listed in A3:A20. The conditional formatting formula is:

=OR(E3=$A$3:$A$20)


Example 2

will hightlight E38:M66 if any of the cells contain any word listed in A38:A55. The conditional formatting formula is:

=OR(ISNUMBER(FIND($A$38:$A$55,E38)))

This is case sensitive. If you do not want it do be case sensitive then use SEARCH() instead of FIND().
Attached Files
File Type: xls Book1.xls (36.0 KB, 11 views)
__________________
Colin

RAD Excel Blog
Reply With Quote