excel函数if嵌套次数太多,可不可以帮我精简一下?=IF(AND(D6="A",E6="初级"),220,IF(AND(D6="A",E6="中级"),280,IF(AND(D6="A",E6="高级"),340,IF(AND(D6="A",E6="技师"),460,IF(AND(D6="A",E6="高级技师"),500,IF(AND(D6="B",E6="初级"
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 03:37:57
excel函数if嵌套次数太多,可不可以帮我精简一下?=IF(AND(D6="A",E6="初级"),220,IF(AND(D6="A",E6="中级"),280,IF(AND(D6="A",E6="高级"),340,IF(AND(D6="A",E6="技师"),460,IF(AND(D6="A",E6="高级技师"),500,IF(AND(D6="B",E6="初级"
excel函数if嵌套次数太多,可不可以帮我精简一下?
=IF(AND(D6="A",E6="初级"),220,IF(AND(D6="A",E6="中级"),280,IF(AND(D6="A",E6="高级"),340,IF(AND(D6="A",E6="技师"),460,IF(AND(D6="A",E6="高级技师"),500,IF(AND(D6="B",E6="初级"),140,IF(AND(D6="B",E6="中级"),200,IF(AND(D6="B",E6="高级"),260,IF(AND(D6="B",E6="技师"),380,IF(AND(D6="B",E6="高级技师"),420,IF(AND(D6="C",E6="初级"),110,IF(AND(D6="C",E6="中级"),160,IF(AND(D6="C",E6="高级"),220,IF(AND(D6="C",E6="技师"),340,IF(AND(D6="C",E6="高级技师"),380,"错误")))))))))))))))
是2003版本
excel函数if嵌套次数太多,可不可以帮我精简一下?=IF(AND(D6="A",E6="初级"),220,IF(AND(D6="A",E6="中级"),280,IF(AND(D6="A",E6="高级"),340,IF(AND(D6="A",E6="技师"),460,IF(AND(D6="A",E6="高级技师"),500,IF(AND(D6="B",E6="初级"
我也来写个公式:
=IF(AND(D6{"A","B","C"}),"错误",INDEX(CHOOSE(CODE(D6)-64,{220,280,340,460,500},{140,200,260,380,420},{110,160,220,340,380}),MATCH(E6,{"初级","中级","高级","技师","高级技师"},)))