iT邦幫忙

0

Excel 請問如何統計不同項目的空白欄位與非空白欄位?

  • 分享至 

  • xImage

https://ithelp.ithome.com.tw/upload/images/20240318/2016605010WcJi6Hgj.pnghttps://ithelp.ithome.com.tw/upload/images/20240318/20166050I4qRsBs8BW.png

請問各位大大們,有甚麼公式可以用來統計這樣的內容? 謝謝解惑!

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

2 個回答

0
Hankz
iT邦新手 2 級 ‧ 2024-03-18 17:10:59
最佳解答

非空白欄位:

=countifs(<項目欄>, <比對的值>, <日期欄>, "<>")

https://ithelp.ithome.com.tw/upload/images/20240318/20139878JFAxPWUYhS.png

空白欄位:

=countifs(<項目欄>, <比對的值>, <日期欄>, "=")

https://ithelp.ithome.com.tw/upload/images/20240318/20139878v5QiVldpqM.png

0
ccenjor
iT邦高手 1 級 ‧ 2024-03-18 19:45:42

B13:
=SUMPRODUCT(($B$2:$B$10<>"")*($A$2:$A$10=A13))
向下複製公式到B14:B17。

C13:
=SUMPRODUCT(($B$2:$B$10="")*($A$2:$A$10=A13))
向下複製公式到C14:C17。
https://ithelp.ithome.com.tw/upload/images/20240318/20109881JUvySQLc5H.jpg

我要發表回答

立即登入回答