This is a very interesting problem. It combines a number of concepts that prevent an easy solution. You need to extract the teacher initials from a cell before you can use it. This prevents you using conditional formatting. Also the outcome is dependent on a range of other cells, ie the name has to be in more than 1 cell for the condition to be met.
I have created a macro for you that will do the job. It assumes that the teacher's initials will always be 3 characters, and will always be the last three characters in the cell. It also assumes that all classes in the same column will be tested for duplicates (this may not be what you want).
Simply paste this macro into the appropriate sheet module in the workbook.
Matt
Bookmarks