Excel中sumif的跨工作表求和问题

2025-01-04 12:23:18
推荐回答(2个)
回答1:

一、=SUM(DSUM(INDIRECT({"一","二","三","四","五","六"}&"年级汇总"&"!a1:e500"),5,$A$1:$A2))

二、=SUM(SUMIF(INDIRECT({"一";"二";"三";"四";"五";"六"}&"年级汇总"&"!a:a"),"黄小",INDIRECT({"一";"二";"三";"四";"五";"六"}&"年级汇总"&"!e:e")))

三、=SUMPRODUCT(SUMIF(INDIRECT({"一","二","三","四","五","六"}&"年级汇总"&"!a:a"),A2,INDIRECT({"一","二","三","四","五","六"}&"年级汇总"&"!e:e")))

回答2:

给个图,帮你看看