更新时间2019-07-29 09:39:08
可以这样:
=SUM(IF($C$3:$C$8<>"未收款",IF($D$3:$D$8<>"未收款",IF(TEXT($C$3:$C$8,"yymmdd")<"190801",IF(TEXT($D$3:$D$8,"yymmdd")<"190801",IF(TEXT($C$3:$C$8,"mm")="07",$E$3:$E$8,IF(TEXT($D$3:$D$8,"mm")="07",$E$3:$E$8,0)),0),0),0),0))
编辑后,须按Ctrl+Shift+Enter确认!!!
见附图: