求助汇总公式
求助:根据sheet1,满足“员工类别”“成本代码”“描述”来汇总计算每个月费用D3=SUMPRODUCT((Sheet1!$B$2:$B$22=汇总结果!$A3)*(Sheet1!$A$2:$A$22=汇总结果!$B3)*(Sheet1!$D$1:$P$1=汇总结果!$C3)*(Sheet1!$C$2:$C$22=汇总结果!D$2)*Sheet1!$D$2:$P$22)
右拉,下拉。 D3=IFERROR(SUMIFS(OFFSET(Sheet1!$C$2,,MATCH($C3,Sheet1!$D$1:$P$1,0),COUNTA(Sheet1!$A:$A)-1,1),Sheet1!$B$2:$B$22,汇总结果!$A3,Sheet1!$A$2:$A$22,汇总结果!$B3,Sheet1!$C$2:$C$22,汇总结果!D$2),"")
页:
[1]