求评分公式
17.1(好),17.5(平均),17.8(平均),19.1(差)输入分数小于或是等于 17.4 为好
输入分数大于 17.4 ,小于或是等于17.9为平均
输入分数大于17.9 ,小于或是等于18.8为平均
输入分数大于18.8为差
E2 公式
=TEXT(D2-MEDIAN(17.4,18.8,D2),"差;好;平均") =if(e2<=17.4,"好",if(e2<=18.8,"平均","差")) 改参数加辅助列,=VLOOKUP(D2,B:C,2,1)
感谢各层大佬,您们太牛了 大佬如果增加一性别,公式怎么改呢?
感觉描述的不太清楚,怎么两个平均值标准?这个行不?
=IF(D2="女",IFS(E2<=17.4,"好",E2<=18.8,"平均",E2>18.8,"差"),IFS(E2<=14.6,"好",E2<=15.9,"平均",E2>15.9,"差")) =CHOOSE(IF(D2="男",1,2),IF(E2<=14.6,"好",IF(E2>15.9,"差","平均")),IF(E2<=17.4,"好",IF(E2>18.8,"差","平均")))
=CHOOSE(IF(D2="男",1,2),TEXT(E2-MEDIAN(15.1,15.9,E2),"差;好;平均"),TEXT(E2-MEDIAN(17.9,18.8,E2),"差;好;平均")) 行,用IF 公式有点长 , 有INDEX+MATCH 吗?
因为表格有点复杂的,请看这附件(原数据表格)
满足你需求:
=IFERROR(INDEX(A2:A4,IF(D2="女",MATCH(E2,B2:B4,1),MATCH(E2,C2:C4,1))),"好")