Hi ya,
I have been searching all through the forum but cannot get my head around Pivot Table calculated field, will be very appreciate of any help. I have raw data as following. I buy stock from different suppliers. Every item has a code. If I buy same stock from different suppliers, my code remains same. My category determines whether I am buying or selling stock.
<tbody>
</tbody>
I need Pivot table summary as following where it gives me the balance of my remaining stock.
<tbody>
</tbody>
Thanks a lot.
Naim
I have been searching all through the forum but cannot get my head around Pivot Table calculated field, will be very appreciate of any help. I have raw data as following. I buy stock from different suppliers. Every item has a code. If I buy same stock from different suppliers, my code remains same. My category determines whether I am buying or selling stock.
Suppliers or client | Code | Category | Item | Quantity |
Supplier 1 | 1001 | Purchase | Sofa | 15 |
Supplier 1 | 1002 | Purchase | Bed | 30 |
Client 1 | 1001 | Sell | Sofa | 1 |
Supplier 2 | 1001 | Purchase | Sofa | 5 |
Client 2 | 1001 | Sell | Sofa | 3 |
Client 3 | 1002 | Sell | Bed | 1 |
<tbody>
</tbody>
I need Pivot table summary as following where it gives me the balance of my remaining stock.
Code | Sum of Purchase Quantity | Stock Remaining | |
Sofa | 1001 | 20 | 16 |
Bed | 1002 | 30 | 29 |
<tbody>
</tbody>
Thanks a lot.
Naim