=IF(COUNTIF(B1,{"*A*","*B*"}),"1区",IF(COUNTIF(B1,{"*C*","*D*"}),"2区",IF(COUNTIF(B1,{"*E*","*F*"}),"3区",IF(COUNTIF(B1,{"*G*","*H*"}),"4区",""))))
用lookup函数好点吧
=lookup(A1,{FIND("A",B1),FIND("b",B1),FIND("c",B1),...),{"1区","2区","3区"...})
公式
=CEILING(MATCH(,0/FIND({"A","B","C","D","E","F","G","H"},B1),)/2,1)&"区"