Excel如果funktion

我有以下公式来search“IT”这个词。 如果find,则返回单词“红色”; 否则“蓝色”。

我怎样才能做到这一点,但寻找不止一个字?

=IF(IFERROR(SEARCH("IT";D5);0);"Red";"Blue") 

 =IF(AND(ISERROR(SEARCH("IT",D5)),ISERROR(SEARCH("otherWord",D5))), "Neither of the two words are there","One or both words are there")