You could select the second range, and go to conditional format, use the Formula section, and put =AND(NOT(ISBLANK($D5)),COUNTIF($B$5:$B$11,$D5)=0). ....
The ISBLANK is just used to ensure that we do not format any blank values unnecessarily. Check attachment.
Bookmarks