excel两个函数相除我想让两个SUMPRODUCT函数相除,该怎么写公式=SUMPRODUCT((汇总表!W:W="A ")*(汇总表!AF:AF=" B")*(汇总表!AH:AH="AAA"))/SUMPRODUCT((汇总表!W:W="A ")*(汇总表!AH:AH="AAA"))这句公式对吗
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/17 12:42:49
excel两个函数相除我想让两个SUMPRODUCT函数相除,该怎么写公式=SUMPRODUCT((汇总表!W:W="A ")*(汇总表!AF:AF=" B")*(汇总表!AH:AH="AAA"))/SUMPRODUCT((汇总表!W:W="A ")*(汇总表!AH:AH="AAA"))这句公式对吗
excel两个函数相除
我想让两个SUMPRODUCT函数相除,该怎么写公式
=SUMPRODUCT((汇总表!W:W="A ")*(汇总表!AF:AF=" B")*(汇总表!AH:AH="AAA"))/SUMPRODUCT((汇总表!W:W="A ")*(汇总表!AH:AH="AAA"))
这句公式对吗
excel两个函数相除我想让两个SUMPRODUCT函数相除,该怎么写公式=SUMPRODUCT((汇总表!W:W="A ")*(汇总表!AF:AF=" B")*(汇总表!AH:AH="AAA"))/SUMPRODUCT((汇总表!W:W="A ")*(汇总表!AH:AH="AAA"))这句公式对吗
=IF(SUMPRODUCT((汇总表!W:W="A ")*(汇总表!AH:AH="AAA")),SUMPRODUCT((汇总表!W:W="A ")*(汇总表!AF:AF=" B")*(汇总表!AH:AH="AAA"))/SUMPRODUCT((汇总表!W:W="A ")*(汇总表!AH:AH="AAA")),"")
或
=IF(COUNTIFS(汇总表!W:W,"A ",汇总表!AH:AH,"AAA"),COUNTIFS(汇总表!W:W,"A ",汇总表!AF:AF," B",汇总表!AH:AH,"AAA")/COUNTIFS(汇总表!W:W,"A ",汇总表!AH:AH,"AAA"),"")
如果想#DIV/0!时得值为100%,则将公式中""改成"100%"