英文:
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)))))
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论