If you have table1 in sheet1 and table2 in sheet2.
Select sheet1
Select the names of the sheet1 and in the
Name box type: Names
See the following example:
Now select sheet2
Select the list of names.
Then selet Home > Conditional Formatting > New Rule.
In the New Formatting Rule dialog box, click Use a formula to determine which cells to format.
Under Format values where this formula is true, type the formula:
Code:
=SUM(--ISNUMBER(SEARCH(IF(Names<>"",Names),A2)))
Click Format.
In the Color box, select the desired color.
Click OK
Click OK
The formatting is applied to column A.
<table style="font-family:Arial; font-size:12pt; border-style: groove ;border-color:#0000FF;background-color:#fffcf9; color:#000000; "><tr><td ><b>Sheet2</b></td></tr></table>
<table border="1" cellspacing="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:187.25px;" /></colgroup><tr style="background-color:#ACC5EF; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#ACC5EF; text-align:center; " >2</td><td >Doug Jones</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#ACC5EF; text-align:center; " >3</td><td style="background-color:#ffff00; ">John Doe</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#ACC5EF; text-align:center; " >4</td><td style="background-color:#ffff00; ">Jane Doe iPhone DNS</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#ACC5EF; text-align:center; " >5</td><td >Rachel Watkins</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#ACC5EF; text-align:center; " >6</td><td style="background-color:#ffff00; ">John Doe 2</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#ACC5EF; text-align:center; " >7</td><td >James Peterson</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#ACC5EF; text-align:center; " >8</td><td >Julia Washington Suspended</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#ACC5EF; text-align:center; " >9</td><td style="background-color:#ffff00; ">Jane Doe iPad DNS</td></tr></table>
------
Let me know if you have any doubt.