軟體: EXCEL
版本: 2016
版上的前輩好
我有一個算表有用來判別字串的是否存在
=IF(COUNTIF(G2,"*B958*"),M2,IF(OR(COUNTIF(G2,"*窄
*"),COUNTIF(G2,"*B218*")),M2,IF(OR(COUNTIF(G2,"*B217*")
,COUNTIF(G2,"*B222*")),M2,IF(OR(COUNTIF(G2,"*B156*"),C
OUNTIF(G2,"*B006*")),M2,IF(OR(COUNTIF(G2,"*B159*"),....ETC
但是因為函數太多沒辦法再新增判別字串了
請問有沒有簡化判別的方法
因為有點不好表達
附上檔案
https://drive.google.com/open?id=1IGnV72HUuHWToj5nCb4f9OtCa1U3pKFR_SjW3Elq8Is
需要判別的字串都在下方的表格
麻煩大家了
感謝