For each asset there are an acquisition record and multiple depreciation records. In the next column I'd like to add up the acquisition with the depreciations for each asset to get the asset's current residual value. There are different numbers of depreciations for different assets.
Is there a way to do this with cell formulas, without writing Visual Basic code? Can I with a cell formula figure out how many depreciations there are for each asset, and add them up? One approach might be to add up all cells in a column with a negative value until a cell with a positive value is encountered, then start another summation. Each asset has a common ID for its acquisition and depreciations.
Schematic of three columns:
ID1 +Acquisition
ID1 -Depreciation
ID1 -Depreciation
ID1 -Depreciation = Residual value
ID2 +Acquisition
ID2 -Depreciation
ID2 -Depreciation
ID2 -Depreciation
ID2 -Depreciation
ID2 -Depreciation = Residual value
ID3 +Acquisition
...
Bookmarks