if(and(K2 != '2495',K2 != '0615',K2 != '1082',K2 != '1244',K2 != '1602',K2 != '1765',K2 != '2036',K2 != '2868',K2 != '2870',K2 != '3098',K2 != '3449',K2 != '3676'),"","")
你的写法没问题啊~
---------------
或是这个格式
if(INARRAY(K2,array('2495','0615')=0,"","")
判断的意义何在?不管k2是什么值,你全是为空。那这判断还有啥意义?你还不如直接让它等于空呢。不判断呢。
感觉没问题啊,是不是你的场景因该用OR 而不是AND
if(or(K2 != '2495',K2 != '0615',K2 != '1082',K2 != '1244',K2 != '1602',K2 != '1765',K2 != '2036',K2 != '2868',K2 != '2870',K2 != '3098',K2 != '3449',K2 != '3676'),"","")
这儿是不是应该有个返回结果