=IF(COUNTIF(A2,"*北京*")>0,"是","否")
转载: https://jingyan.baidu.com/article/63acb44a29cf7b61fdc17e10.html