我有以下Excel電子表格:不同計數結果基於在數據庫0值
A B C
Sent Quantity Returned Products
1 Product A 500 0
2 Product A 400 300
3 Product A 600 400
4 Product B 250 0
5 Product B 300 150
6 Product C 700 0
表顯示所發送的數量(列B)和返回量(C欄)產品的每個銷售(訂單)(列A)。
我創建了一個簡單的數據透視表基於此數據,給了我以下結果:
Count of Sent Quantity Count of Returned Quantity
Product A 3 3
Product B 2 2
Product C 1 1
正如你可以看到它計算的產品不管所有的銷售(訂單),如果有一個0返回。
現在我想從伯爵退貨數量的實現這一銷售至極有沒有回報(C欄0值)排除,但它仍然應該在伯爵所包含發送數量。因此,我期望的結果如下:
Count of Sent Quantity Count of Returned Quantity
Product A 3 2
Product B 2 1
Product C 1 0
你知道我怎麼能做到這一點嗎?
[濾鏡0值的可能的複製在數據透視表](https://stackoverflow.com/questions/45500860/filter-0-values-in-pivottable) – GlennFromIowa