Countif,Countifs还是IF?

时间:2016-09-20 12:53:10

标签: excel excel-formula

我对配方有点失落,我不确定下面对我们来说哪个最好。

我为每种文档类型都有BU_Description。

PPForm      , Employment_Agreement, ID      , POR, BU_Description
Not Received, Received            , Received,Received, HR
Not Received, Received            , Received,Received, warehouse
Not Received, Not Received        , Received,Received, warehouse
Not Received, Received            , Received,Received, HR

我需要为每个BU_Description运行一个计数,收到了多少文件。

示例

BU_Description , PPFORM                        ,Employment_Agreement          , ID         ,
  HR           , Received "0" Not Received "4" , Received "2" Not Received "0", Received "2" Not Received "0",

enter image description here

结果 enter image description here

2 个答案:

答案 0 :(得分:0)

哦,那么你可以在你想要的表格上的任何地方放一个SUM公式,然后加倍努力。 1收到&一个没有收到。你可能会使用"总数"排在底部。

=SUM(range)

答案 1 :(得分:0)

enter image description here

enter image description here

H3中的公式向右和向下填充:

=COUNTIFS($E:$E,$G3,INDEX($A:$E,,INT((COLUMN(A:A)-1)/2)+1),H$2)