Forum Discussion
Automatically Subtract Entered Amount from Existing Value in Another Cell
In my inventory spreadsheet, cell B18 contains my current raw inventory total.
If a positive value is ever entered into B10 (amount being removed from raw inventory), I want to automatically subtract that amount from B18. I've been doing this manually for years, but sometimes I will forget to update the new total and then inventory becomes a nightmare!
I have a feeling that this is a very simple formula, but I just can't find the right way of doing it without creating a Circular Reference!
PLEASE HELP!
8 Replies
- BennadeauIron Contributor
Hi danyell723,
It would help to know how you get the number in cell B18.
Let's say that currently, the formula in B18 is the sum of B11 to B17
=sum(B11:B17)
Now what you want to do is subtract B10 from that previous formula.
=SUM(SUM(B11:B17)-B10)
- danyell723Copper Contributor
BennadeauThere's no formula associated with B18. I manually entered that value and have been revising it as needed.
- BennadeauIron Contributor
In that case, you will need to write the formula in a different cell.
Let's say B19 is available, you will write:
=B18-B10
If you must have the new value in B18, then invert B18 and B19.