excel中if函数的嵌套用法-多条件-EXCEL使用if函数嵌套超过七层怎么办
2023-05-23 11:52:56
来源:互联网
(资料图片仅供参考)
1、你写的公式数据与表格中的数据不对应公式可以写成=IF(P6="","",LOOKUP(P6,{0,"F";50,"D";53,"C-";58,"C";63,"C+";68,"B-";72,"B";78,"B+";83,"A-";88,"A";93,"A+"}))07及以上的版本可以支持7层以上的嵌套,如果是03版且一定要用IF进行嵌套的话,公式可以改成=IF(P6="","",IF(P6<72,IF(P6<50,"F",IF(P6<53,"D",IF(P6<58,"C-",IF(P6<63,"C",IF(P6<68,"C+","B-"))))),IF(P6<78,"B",IF(P6<83,"B+",IF(P6<88,"A-",IF(P6<93,"A","A+"))))))。
本文到此分享完毕,希望对大家有所帮助。