maradykstra
New Member
Hi,
I'm trying to keep inventory of some things that I record in a table. I want one cell that will show me my current inventory everytime I record my inventory in the table. Here is an example:
C3: =If(C14="oranges",(100-D14),IF=(C14="apples",(500-D14)))
Where my value 100 and 500 is my starting quantity of oranges and apples respectively. My formula works for that one row but I'm trying to make it work for the next row in my table when I add my data (C15:C20 and D15:D20 or how ever long the table is)
The formula has to add up the qty of oranges or apples I put in the table and then subtract that from my starting inventory. I'm sure there are other ways of keeping track of inventory but I thought this was a good way to see right away what my current inventory is after I input my data in a table. I'm open to other ways too.
Thank you for your help.
I'm trying to keep inventory of some things that I record in a table. I want one cell that will show me my current inventory everytime I record my inventory in the table. Here is an example:
C3: =If(C14="oranges",(100-D14),IF=(C14="apples",(500-D14)))
Where my value 100 and 500 is my starting quantity of oranges and apples respectively. My formula works for that one row but I'm trying to make it work for the next row in my table when I add my data (C15:C20 and D15:D20 or how ever long the table is)
The formula has to add up the qty of oranges or apples I put in the table and then subtract that from my starting inventory. I'm sure there are other ways of keeping track of inventory but I thought this was a good way to see right away what my current inventory is after I input my data in a table. I'm open to other ways too.
Thank you for your help.