Those were my numbers.
+10, -50, -25 and so on. For a given material ID that started with 400, the answer would be 335.
400+10=410
410-50=360
360-25=335
In your example I think I see how 800-100 becomes 700 on the next line but I can't see how -100 more becomes 400.
By specific ID I had in mind where the table would show the materialID (maybe 52) and not the name of the material (e.g. 1/2" diameter nylon rope). I might be at a disadvantage as a result of not seeing inside your db, so apologies if I'm off base.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.