单元格参考中具有空标准的 SUMIFS 公式
SUMIFS Formula With Empty Criteria in Cell Reference
我的 SUMIFS
公式从下拉过滤器中获取其条件。如果过滤器留空,则需要能够对所有值求和。
=SUMIFS(Data!AX:AX,Data!J:J,B2)
使用 IF
function to determine whether the criteria cell is blank, and if it is, use a "regular" SUM
function.
有点像,
=IF(B2="",SUM(Data!AX:AX),SUMIFS(Data!AX:AX,Data!J:J,B2))
我的 SUMIFS
公式从下拉过滤器中获取其条件。如果过滤器留空,则需要能够对所有值求和。
=SUMIFS(Data!AX:AX,Data!J:J,B2)
使用 IF
function to determine whether the criteria cell is blank, and if it is, use a "regular" SUM
function.
有点像,
=IF(B2="",SUM(Data!AX:AX),SUMIFS(Data!AX:AX,Data!J:J,B2))