2016-09-20 96 views
0

我有點迷失了一個公式,我不確定哪個是最適合我們的。Countif,Countifs或IF?

我對每種文檔類型都有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

+0

其不太清楚你想達到花花公子 –

+0

@DougCoats什麼,我想爲每個BU計算已收到多少PPF,以及未收到多少PPF。數據全部在1張表中,並且報告處於故障狀態。 – user3309798

+0

這裏是一個解決方案的例子: '=「收到了&&COUNTIFS(A:A,」Received「,E:E,」HR「)」 – zipa

回答

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) 
+0

完美的工作,現在將其更改爲其他工作表中的數據,並將工作表中的報告分解,非常感謝您的幫助。 – user3309798

0

哦,那麼你可以你想在紙張上任意地方扔SUM公式,只是加倍的努力。 1收到&一個沒有收到。您可能可以在底部使用「總計」行。

=SUM(range) 
+0

它沒有任何東西,SUM範圍可以像這樣:= SUM(a2 ,a5,a8)等 –