iT邦幫忙

0

EXCEL跨工作表加總回傳數值

  • 分享至 

  • xImage

需匯總各月份的客戶各品名月份數量,有使用=SUMIFS 此函數都無法顯示出來
https://ithelp.ithome.com.tw/upload/images/20230324/20159013sKfaPk5OI6.png
https://ithelp.ithome.com.tw/upload/images/20230324/20159013rLFI4JPI2u.png
https://ithelp.ithome.com.tw/upload/images/20230324/20159013fk2r0etbu6.png

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

2
ccenjor
iT邦高手 1 級 ‧ 2023-03-24 21:10:55
最佳解答

由於只有2個月資料。
D3:
=SUMIFS(INDIRECT(D$1&"!$D:$D"),INDIRECT(D$1&"!$B:$B"),$A3,INDIRECT(D$1&"!$C:$C"),$B3)
向下及向右複製到D3:O11儲存格。
https://ithelp.ithome.com.tw/upload/images/20230324/20109881c2QYCMIz2r.jpg

0
難神
iT邦新手 5 級 ‧ 2023-03-24 17:50:02

以下是我寫的範例,可以參考看看。
程式碼如下:

=SUMIFS(Jan!$D$2:$D$10,Jan!$B$2:$B$10,summary!A2,Jan!$C$2:$C$10,summary!B2)

以下為資料表:
https://ithelp.ithome.com.tw/upload/images/20230324/20143485qBBNelzB1o.png

下面是公式的用法
Excel 多條件加總

=SUMIFS(數字範圍,條件1範圍,"條件1",條件2範圍,"條件2")

希望有幫助到你/images/emoticon/emoticon08.gif

我要發表回答

立即登入回答