Something else that might work for you–I don’t fully understand what you need–is INDIRECT.
=INDIRECT(“B3”)
will always give you a reference to the current B3, no matter what you do with additions and deletions. The argument to INDIRECT is text specifying the address of the cell you want. For instance, if you have
B2 1
B3 2
B4 5
B5 7
then =SUM(INDIRECT(“B2”):INDIRECT(“B5”)) gets you 15
Offset worked , thanks iwakura43
=SUM(OFFSET(D17,-1,0)+(B17-C17))
It’s a simple financial sheet where I copied a month’s data to the following month, and then remove items that don’t apply.