【发布时间】:2018-02-09 06:46:27
【问题描述】:
我正在尝试构建基本上重复自身的公式,每个实例上只有 2 个单元格改变值。
=IF(AND(J12<50,J12<>””,K12=”Z02”,Q12=”Z3”),”Repl. Type does not match Planner”,
IF(AND(J12<50,J12<>””,K12=”Z02”,Q12=”Z4”),”Repl. Type does not match Planner”,
IF(AND(J12<50,J12<>””,K12=”Z05”,Q12=”Z3”),”Repl. Type does not match Planner”,
IF(AND(J12<50,J12<>””,K12=”Z05”,Q12=”Z4”),”Repl. Type does not match Planner”,
IF(AND(J12<50,J12<>””,K12=”Z06”,Q12=”Z3”),”Repl. Type does not match Planner”,
IF(AND(J12<50,J12<>””,K12=”Z06”,Q12=”Z4”),”Repl. Type does not match Planner”,
IF(AND(J12<50,J12<>””,K12=”Z07”,Q12=”Z3”),”Repl. Type does not match Planner”,
IF(AND(J12<50,J12<>””,K12=”Z07”,Q12=”Z4”),”Repl. Type does not match Planner”,
IF(AND(J12<50,J12<>””,K12=”Z08”,Q12=”Z3”),”Repl. Type does not match Planner”,
IF(AND(J12<50,J12<>””,K12=”Z08”,Q12=”Z4”),”Repl. Type does not match Planner”,
""))))))))))
我收到#Name? 错误。
谁能帮忙?
【问题讨论】:
-
添加几行表格
-
请注意,
”应该是",就像在Planner”,""))))))))))中使用的一样。 -
Mrig,谢谢你.. 我用 word 输入了这个公式,因为我发现有时做这样的长公式更快,但没有注意。感谢您发现
-
你可以使用 =ifs()
标签: excel if-statement error-handling