Reputation: 255
In Excel, I have column 1 with a list of names.
I want to write names in column 2, but not the same names in column 1. How do I format the cells in column 2 to, say change color to red, if the name exists somewhere in column 1?
Thanks
Upvotes: 1
Views: 3733
Reputation: 56
To do this the easiest way is to create a conditional formatting rule.
In the rule description add the following formula:
=NOT(ISERROR(MATCH(B1,$A$1:$A$1000,0)))
As you type Names into Column B, any names that already exist in Column A will be highlighted in Red.
Upvotes: 3