Dear Experts,
I have an interesting problem here.
I have a two values on a row. Say value A = 5000 and Value B = 20000. Value A changes from row to row but Value B is constant. I would like to deduct Value A from B such that Value B keeps decreasing cummulatively with each row. Such as on Row 1 the Variance would be 15,000 from 20000-5000
On Row 2 where Value A is 3000, I would like to have the variance as 15000 - 3000 = 12000 and so on. How can I achieve this programmatically ? I should then do a running total on the variances.