=IF(SUM(IF(ISNUMBER(FIND(A1,B$1:B$1000)),1,0),IF(ISNUMBER(FIND(A1,C$1:C$1000)),1,0))=2,A1,"")
数组函数Ctrl+shift+enter三键结束