Conditional formatting: Highlight cells in a column that contain 1 or more of a set of words.
Below: I want all cells in colum B that contain the words "CAT", "MONKEY", or "BULL" highlighted regardless of other punctuation or words in the cell.
I found the following formula but it does not work:
=IF(ISERROR(IF(LEN(B1)>0, FIND(","&LOWER(B1)&",", ",cat,monkey,bull,"),#VALUE!)),"=",B1)
Please see attached spreadsheet.
A B
1 CAT TIGER
2 MAN
3 CHICKEN, DONKEY854
4 DUCK" SNAKE
5 MAN
6 SNAKE, MONKEY 2658
7 MONKEY: TIGER
8 MAN(
9 DOG, BIRD 4564
10 BIRD, SNAKE
11 TIGER, DONKEY
12 MAN
13 LION, MONKEY
14 BULL, LION
15 DONKEY, TIGER
16 MAN
17 COW, SNAKE..4
18 PIG, COW
19 MAN
20 OWL, MONKEY
Notice some words are not separated by spaces or are followed by or preceeded by punctuation (if the word is in complete I want the cell to be highlighted regardless of what is before or after).
I am using Excel 2003, and was told the above formula should be entered in the cell vale/equal to....
Thank you,
Daniel
Bookmarks