For each barcode that matches, I want the inventory to decrease by 1.

Right click and "view image" if it's small.
As you can see the inventory reads 49, from the original 50, but there are 6 barcodes scanned, so it should be 44. I can't think of a formula to make it work. I need it to "-1" but to recur on each new barcode.
Once I can get this formula sorted I will add different products and the formula should be able to dictate which inventory to deduct.
Thanks for the help!