假设D列为成绩,大于80为优秀,大于60为合格,其余为不合格
则应输入的公式为:=IF(D1>80,"优秀 ",IF(D1>60,"合格","不合格"))
如成绩在A1,90或90以上为优秀,60到89.9算合格,在B1输入=lookup(A1,{0,60,90},{"不合格","合格","优秀"})
=IF(A1>90,"优秀",IF(A1>60,"合格","不合格"))