I started to write a formula for you when I realized you have a serious logic problem in the formulas in column E. Here is a sample:
Formula:
=IF(OR(VLOOKUP(Sheet2!B2,Sheet1!B:C,2,0)<>"TLE",VLOOKUP(Sheet2!B2,Sheet1!B:C,2,0)<>"CBF"),Sheet2!B2,"NO")
If VLOOKUP does not produce an error, your OR will always be TRUE. No matter what the VLOOKUP returns, the result will always be either not "TLE" or not "CBF".
What are you really trying to test for here? If you are trying to look for the opposite of the condition in the formula in column D, then maybe you want that OR to be an AND, meaning the result is neither "TLE" nor "CBF".
Bookmarks