|
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用 · 内置多项VBA编程加强工具 ★ 免费下载 ★ ★ 使用手册★
感謝加分鼓勵 加入8樓laowuwyx 老師 總整理如下 再加幾個
32 =IF(COUNTIF(A2,"*裤*"),"下装","上装")
33 =TEXT(COUNTIF(A2,"*裤*"),"下装;;上装")
34 =IF(COUNT(FIND("裤",A2)),"下装","上装")
34 =IF(ISERR(FIND("裤",A2)),"上装","下装")
35 =TEXT(COUNT(FIND("裤",A2)),"下装;;上装")
36 =TEXT(-ISERR(FIND("裤",A2)),";上装;下装")
37 =IF(ISNUMBER(FIND("裤",A2)),"下装","上装")
38 =MID("下装上装",3-2*COUNT(FIND("裤",A2)),2)
39 =INDEX({"上装","下装"},COUNTIF(A2,"*裤*")+1)
39 =IF(FIND("裤",A2&"裤")>LEN(A2),"上装","下装")
39 =TEXT(-ISNUMBER(FIND("裤",A2)),";下装;上装")
40 =CHOOSE(COUNT(FIND("裤",A2))+1,"上装","下装")
41 =INDEX({"上装","下装"},COUNT(FIND("裤",A2))+1)
41 =IF(ISNUMBER(MATCH("*裤*",A2,)),"下装","上装")
46 =LOOKUP(COUNT(FIND("裤",A2)),{0,1},{"上装","下装"})
47 =IF(LEN(SUBSTITUTE(A2,"裤",))<LEN(A2),"下装","上装")
49 =CHOOSE(ISNUMBER(MATCH("*裤*",A2,))+1,"上","下")&"装" |
|