【Excel公式】在根据残疾证号判断残疾类别和等级的基础上,如何让公式智能识别非残疾人?
发布网友
发布时间:2022-07-26 01:22
我来回答
共3个回答
热心网友
时间:2023-10-16 07:37
=IF(ISERR(IF(坐标="","",CHOOSE(--MID(坐标,19,1),"视力","听力","言语","肢体","智力","精神","多重"))),"非残疾人",IF(坐标="","",CHOOSE(--MID(坐标,19,1),"视力","听力","言语","肢体","智力","精神","多重")))
=IF(ISERR(IF(坐标="","",CHOOSE(--MID(坐标,20,1),"一级","二级","*","四级"))),"非残疾人",IF(坐标="","",CHOOSE(--MID(坐标,20,1),"一级","二级","*","四级")))追问我把你2段代码中第一个【非残疾人】后面的代码全部删除,也能实现,是你打多了么?
原来删除你后面那段话之后,再把位数补成20位,非残疾人就变成FALSE了。
热心网友
时间:2023-10-16 07:38
在公式外面加=iferror(你原来的公式,"")
热心网友
时间:2023-10-16 07:38
最前面加个IFERROR
即: iferror(原公式,"")追问iferror=IF(原公式)
iferror(原公式)
iferror=(原公式)
上面3个没反应;
=iferror(原公式)
这个公式错误;
我给你原公式吧,麻烦你直接告诉我成品:
=IF(F16="","",CHOOSE(--MID(F16,19,1),"视力","听力","言语","肢体","智力","精神","多重"))