[英]Excel - SumIF Cell Value is between date range & another Cell is False
Need help writing a formula to do the following 需要帮助写公式来执行以下操作
Sum the value of cells that fall withing a specified date range BUT only if the corresponding cell range A3:A21 is False 仅当对应的单元格范围A3:A21为False时,才对属于指定日期范围BUT的单元格的值求和
I have the current formula that handles just the date range comparison. 我有目前只处理日期范围比较的公式。
=SUMIFS(H3:H21,I3:I21,">="&'Essential Info'!A9,I3:I21,"<="&'Essential Info'!B9)
I am falling over at the "If Cell Range is false" part. 我陷入了“如果单元格范围为假”部分。 Any pointers would be greatly appreciated 任何指针将不胜感激
尝试在公式的, A3:A21, "false")
加上, A3:A21, "false")
。
使用总和而不是总和:
=Sumproduct((I3:I21>='Essential Info'!A9)*(I3:I21>='Essential Info'!B9)*H3:H21)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.