I want to calculate total stock quantity of each item separately. I have last column name "Total Stock Quantity" in which I want sum separately.
Condition: Whenever I give new quantity to the item, it should get added/subtract to same cell "Total Stock Quantity".
I have attached screen shot for example.
Here initially "Total Stock Quantity" is 0 and I am adding an item (quantity=15) to list:

Now "Total Stock Quantity" should be 15

Now I am giving new quantity for that item (quantity=10)

Now the "Total Stock Quantity" should be 25 which is Previous Value (15) + New Value (10)

Basically, it should get updated every time I enter new stock unit for my item
So, what should I do to make Cumulative sum for the same cell.
Please Provide me a solution for this :)


Worksheet_Changeevent and come back with an attempt. - Pᴇʜworksheet_changeevent macro to determine when you should add to the Total cell. Be aware that this method will eliminate the ability to track your changes; troubleshoot data entry errors, etc. A better method might be to have a worksheet for a history of transactions, and then display this (your table as shown in your question) on a summary sheet. - Ron Rosenfeld