Help

Auto subtract inventory

2595 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Darren_Kueh
4 - Data Explorer
4 - Data Explorer

Screen Shot 2018-12-25 at 2.03.38 PM.png 26%20PM

Hi,

I need to subtract the inventory from my Dec Sales table which consist of Quantity and Type.
How can i do it ? Which formula is suitable for me?
Thank you in advance.

Regards,
Darren.

2 Replies 2
Darren_Kueh
4 - Data Explorer
4 - Data Explorer

Any expert care to help out ?

Is the column “Done” indicating which items need to be subtracted? If so, I think you will need to use a conditional roll-up. On your Dec Sales table, add a column with the following formula:

IF(Done = 1, Quantity, 0)

The result will be a column with only the quantities that are “Done”/“Out”. Then on your Inventory table you can use a roll-up to sum those quantities and subtract from the total.