A B C
AD 7906 AM
AM 5235 ZQ
AD 2556 AC
Here is the logic, first IF Bx = 7906, that should return "Yes", but also, IF Bx is 5235 and Cx matches Ax then it should also return "Yes". I'm using COUNTIF() to test if the content of Ax matches any of the items of column C
This is where I am so far =IF(AND(B2="7906",OR(COUNTIF($C$2:$C$4,A2),B2="5235")),"Yes","No")
The result is always "No" NO MATTER WHAT I TRY. :-(
Solved by F. C. in 14 mins