在昨天求助论坛解决条件取值,共有两个链接贴,虽然都解决了问题,但我依然迷惑,不明白意思,请帮助解答:
第一个链接两个公式,原贴链接:http://club.excelhome.net/thread-640297-1-1
公式1: D2=IF(COUNT(FIND({"CE","CEC","SO","SH","SOS","SHS"},B2))-COUNT(FIND({"C","S"},B2)),A2,"")
公式中的COUNT(FIND({"CE","CEC","SO","SH","SOS","SHS"},B2))-COUNT(FIND({"C","S"},B2)是什么意思
公式2: D2=LOOKUP(SUM(ISNUMBER(FIND({"C","S"},B2))*{10,100})+SUM(ISNUMBER(FIND({"CE","CEC","SO","SH","SOS","SHS"},B2))*{2,2,10,10,10,10}),{0,10,12,14,100,110,112},{"","A","","A","A","","A"})
这个就完全不懂
第二个链接也有两个公式,原贴链接:http://club.excelhome.net/thread-640214-1-1.html
公式3: =IF(C2="","",IF(LEFT(C2)<>"甲",B2,IF(LEFT(C2,4)="甲999",B2,"")))这个一知半解,为什么用=IF(C2="","",IF(C2<>"甲*",B2,IF(C2="甲999*",B2,"")))就错
公式4: =CHOOSE(MATCH(C2,{0,"0","甲1","甲999"}),"",B2,"",B2)这个完全不懂 |