It is suggested to establish an inventory file, including details such as category, product name, specifications, etc. (it is best to use codes, which are unique and easy to operate). Can you meet your needs by combining index+match and sumif? .
only the daily receipt/shipment details are entered in a table, and then summarized into the receipt/shipment/storage summary table through the sumif function (both the details and the summary table are consistent with the inventory file details established above).
What matters is the logic of thinking; There are templates. You can leave oil fragrance if necessary. It's your turn.
1. Details table header style:
2. Receipt/shipment/storage summary table style: