帮忙写个公式
如题,帮忙写个公式,条件在附件中,谢谢! 相同时如何处理,比如出现A对应的C列6个值全部是1,都取出数来,还是只要2个(哪2个)? =IFERROR(INDEX($B$2:$B$12,SMALL(IF(($A$2:$A$12=A2)*(COUNTIFS($C$2:$C$12,"<="&C2,$A$2:$A$12,A2)<=2),ROW($1:$11),4^8),COUNTIF($A$2:$A$12,A2))),"")三键 =IF(COUNTIFS(A:A,A2,C:C,"<="&C2)<3,B2,"") =IF(COUNTIFS(A:A,A2,C:C,"<"&C2)>1,"",B2) 还是大佬严谨,我都没看太明白就写了公式。
页:
[1]