在以下情况下,是否有可能在B,C和D列中搜索单词“ Example”并在E列上显示输出的自动化:
E2= "100%" if "Example" is found in all three columns B2 C2 and D2
E2= "55%" if " Example " can be found in 2 columns B2,C2 or B2,D2 or C2,D2
E2= "10%" if "Example " can be found in just one column B2 or C2 or D2
这应该在2到1000的范围内工作
答案 0 :(得分:1)
我认为您可以尝试:
=IF(COUNTIF(B2:D2,"Example")=3,"100%",IF(COUNTIF(B2:D2,"Example")=2,"55%",IF(COUNTIF(B2:D2,"Example")=1,"10%","")))