求大佬帮忙根据分数、部门D等级比例、排名确定各部门D等级人数 ...
确定员工D等级规则:各部门D等级比例不低于10%(四舍五入,1.4就是1个D,1.5就是2个D),人数少于10人的至少1名人员为D等级。各部门60分以下的为D等级;如果60分以下的达不到比例人数,则把部门人员总分排名靠后的也列为D等级,直到总人数达到比例为止。求大佬帮忙写个函数。
=IF(OR(Q2<=PERCENTILE.INC($Q$2:$Q$11,0.1),Q2<60),"D",LOOKUP(Q2,{60,75,90},{"C","B","A"})) 你好,B部门的酷米应该是D等级,但是用这个函数他还是C等级,应该不对 =IF(R2>=COUNTIF(A:A,A2)+1-MAX(TEXT(COUNTIF(A:A,A2)/10,"[<1]1;0")/1,COUNTIFS(A:A,A2,Q:Q,"<60")),"D",LOOKUP(Q2,{0,60,75,90},{"D","C","B","A"})) 百分比排位=IF(OR(0.1>=PERCENTRANK.EXC(IF($A$2:$A$11=A5,$Q$2:$Q$11,0),Q5),Q5=MIN(IF($A$2:$A$11=A5,$Q$2:$Q$11,100))),"D",LOOKUP(Q5,{60,75,90},{"C","B","A"}))
末位出列D级
=IF(Q2=MIN(IF($A$2:$A$11=A2,$Q$2:$Q$11,100)),"D",LOOKUP(Q2,{60,75,90},{"C","B","A"}))
页:
[1]