根据出入库数量,动态计算库存数
。。
在单元格写公式就可以了
https://help.fanruan.com/finereport/doc-view-343.html 我觉得你在找它
参考逐层累计https://help.fanruan.com/finereport/doc-view-348.html
有出库也就多累计一个负的就行了