How to change a value in one column dependent on another table column?
1 view (last 30 days)
I have a table (attached) with two columns.
I'd like to match Var1 and Var2.
For example all the Var2 should have the same Var1.
However, towards the end through Var1 it changes. I'd like to change those numbers to match the ones preceding. If you take a look at the Var2 (15), this would mean every row that has 15 should have 711. The goal is to replace the 429 with 711.
All the Var2 (30) should have 642.