✔ 最佳答案
<<參考檔>>下載地址
http://www.FunP.Net/446655
2014-06-06 14:11:46 補充:
意見002公式改成
D7=IF($B$2="",SUMPRODUCT((總表!$A$3:$A$1000=報表列印!$B$1)*INDIRECT($B7&D$6)),SUMPRODUCT((總表!$A$3:$A$1000>=報表列印!$B$1)*(總表!$A$3:$A$1000<=報表列印!$B$2)*INDIRECT($B7&D$6)))
下載地址
http://www.FunP.Net/208893
2014-06-06 15:57:20 補充:
將公式中INDIRECT($B7&D$6))改成OFFSET(INDIRECT("總表!"&ADDRESS(1,MATCH(報表列印!$B7,總表!$1:$1,))),2,MATCH(D$6,總表!$B$2:$E$2,)-1,998,)
下載地址
http://www.FunP.Net/359955
2014-06-06 22:03:46 補充:
若不用定義名稱,則要將意見3的公式中INDIRECT($B7&D$6))改成OFFSET(INDIRECT("總表!"&ADDRESS(1,MATCH(報表列印!$B7,總表!$1:$1,))),2,MATCH(D$6,總表!$B$2:$E$2,)-1,998,)
下載地址
http://www.FunP.Net/359955