Forum Discussion

vppismail's avatar
vppismail
Copper Contributor
May 06, 2020
Solved

SUMIFS continuously add and Subtract the value of an item in rows in an Inventory Table

Hi All! Can anyone help me out? I wanted to increase or decrease the quantity of a same item according to the transaction type IN or OUT from an Inventory Table. It means when I stock in (IN) the i...
  • Riny_van_Eekelen's avatar
    May 06, 2020

    vppismail I would like to recommend you to insert an extra column that sets the quantity to plus or minus based on IN/OUT. Then you can use what you could call and auto-expanding SUMIF to calculate the closing inventory after each transaction for a particular item. Easiest to demonstrate in a working example. Please see attached.

Resources