Excel公式不起作用:参数过多

huangapple go评论67阅读模式
英文:

Excel formula does not work: too many arguments

问题

I am trying to run this formula:

=IF(AND(D4="Dr",D5="Dr",D10="Cr"),C4-C8-C9-C10-C5+C11,
IF(AND(D4="Cr",D5="Cr",D10="Dr"),C4+C8+C9-C10-C5-C11),
IF(AND(D4="Cr",D5="Dr",D10="Dr"),C4+C8+C9-C10+C5-C11),
IF(AND(D4="Dr",D5="Cr",D10="Cr"),C4-C8-C9-C10+C5-C11),
C4+C8+C9+C10+C5+C11))

But it is showing "you have entered too many arguments" error... can anybody help me with this formula?

英文:

I am trying to run this formula:

=IF(AND(D4="Dr",D5="Dr",D10="Cr"),C4-C8-C9-C10-C5+C11,
IF(AND(D4="Cr",D5="Cr",D10="Dr"),C4+C8+C9-C10-C5-C11),
IF(AND(D4="Cr",D5="Dr",D10="Dr"),C4+C8+C9-C10+C5-C11),
IF(AND(D4="Dr",D5="Cr",D10="Cr"),C4-C8-C9-C10+C5-C11),
C4+C8+C9+C10+C5+C11))

But it is showing you have entered too many arguments error... can anybody help me with this formula?

答案1

得分: 0

尝试这个:

IF(AND(D4="Dr",D5="Dr",D10="Cr"),C4-C8-C9-C10-C5+C11,
IF(AND(D4="Cr",D5="Cr",D10="Dr"),C4+C8+C9-C10-C5-C11,
IF(AND(D4="Cr",D5="Dr",D10="Dr"),C4+C8+C9-C10+C5-C11,
IF(AND(D4="Dr",D5="Cr",D10="Cr"),C4-C8-C9-C10+C5-C11,
C4+C8+C9+C10+C5+C11))))
英文:

Try this:

IF(AND(D4="Dr",D5="Dr",D10="Cr"),C4-C8-C9-C10-C5+C11,
IF(AND(D4="Cr",D5="Cr",D10="Dr"),C4+C8+C9-C10-C5-C11,
IF(AND(D4="Cr",D5="Dr",D10="Dr"),C4+C8+C9-C10+C5-C11,
IF(AND(D4="Dr",D5="Cr",D10="Cr"),C4-C8-C9-C10+C5-C11,
C4+C8+C9+C10+C5+C11)))))

huangapple
  • 本文由 发表于 2020年1月3日 17:47:09
  • 转载请务必保留本文链接:https://go.coder-hub.com/59576285.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定