Hi,
I have 100 words that I want excel to highlight if it finds them in within a cell, not when the cell has that specific text.
I could put each one in using the text contains highlight option, but this would take forever.
I found a formula that works if the cell = a word, but I want it to highlight it if it "contains" a word.
Here it is: =OR(A1="Jon",A1="Fred",A1="Barney",A1="Wilma",A1="Betty",A1="Pebbles",A1="BamBam")
This works if the cell = jon or fred but if it contains jon fred then it is not hightlighted.
I tried "*jon*" ... but this doesn't work either
I can make it highlight the cell if I only search for one term using * but if I try to add another term then it tells me too many arguments.
What I want:
Is a formula like the =OR one above that highlights the cells if they "contain" any of the words in the formula, "not" if the cell = one of the words.
I hope there is a way to put all of the words i want highlighted into one line as I do not want to put all of these in individually one by one ...
Thanks
I have 100 words that I want excel to highlight if it finds them in within a cell, not when the cell has that specific text.
I could put each one in using the text contains highlight option, but this would take forever.
I found a formula that works if the cell = a word, but I want it to highlight it if it "contains" a word.
Here it is: =OR(A1="Jon",A1="Fred",A1="Barney",A1="Wilma",A1="Betty",A1="Pebbles",A1="BamBam")
This works if the cell = jon or fred but if it contains jon fred then it is not hightlighted.
I tried "*jon*" ... but this doesn't work either
I can make it highlight the cell if I only search for one term using * but if I try to add another term then it tells me too many arguments.
What I want:
Is a formula like the =OR one above that highlights the cells if they "contain" any of the words in the formula, "not" if the cell = one of the words.
I hope there is a way to put all of the words i want highlighted into one line as I do not want to put all of these in individually one by one ...
Thanks