如果分数在A2,等级在B2的话,需要在B2输入
=IF(A2>80,"优",(IF<60,"差","良"))
(注意,里面的逗号需要英文状态下的,优良差三个字都需要用英文双引号裹起来,大于号和小于号用英文状态下的书名号,即M键右边的两个)
然后向下复制
假设A1为分数
B1判断公式:
=IF(A1>80,"优",IF(A1<60,"差","良"))
=if(A1>80, "优",if(A1<60, "差", "良"))
=IF(D10>79,"优",IF(D10<60,"差",IF(D10>60,"良",)))
其中D10替换为你要进行判断的单位格
=LOOKUP(A1,{0,60,80},{"差","良","优"})