What is the formula for a cell using a few inputs based on a Part #

Please see below. What I'm trying to do is write a formula for the Remaining column to calculate Footage minus the absolute value of Starting # minus Ending # based on the Part #.

For example, Part123 has the following:

Footage = 10000, Starting # = 5000, Ending # = 3000

Remaining should be 8000. Then the next line for Part123 should be based on the previous Remaining value for that Part # which is 8000 minus absolute value of 3000 minus 2000 equals 7000.

As you can see, Part123 doesn't show up again until a few lines after. This is when I need it to calculate based off the previous Remaining value for that Part # which is 7000 minus absolute value of 2000 minus 1000 equals 6000.

How would I accomplish this?

Thanks in advance!


Tags:

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!