I have a spreadsheet for pricing items where I have a formula to calculate the total discount in one cell and total price in another. in this state they don't reference each other, just provide the answer.
I want to allow users to overwrite either of these cells and have the formula change to reflect this.
e.g.
Let's assume that the total price was £100 and the total discount 0% at the start.
1. I want to allow users to overwrite the calculated discount cell with, say 10%, this then changes the total price cell to reflect a 10% discount (£90),
2. Alternatively, they could change the total price cell to £90 and the discount cell would update to reflect the 10% change.
If either of the cells are then cleared/deleted, I want the original formulas to come back and show the £100, 0% that was originally calculated.
I know it's possible with VBA, I just don't know how!
I want to allow users to overwrite either of these cells and have the formula change to reflect this.
e.g.
Let's assume that the total price was £100 and the total discount 0% at the start.
1. I want to allow users to overwrite the calculated discount cell with, say 10%, this then changes the total price cell to reflect a 10% discount (£90),
2. Alternatively, they could change the total price cell to £90 and the discount cell would update to reflect the 10% change.
If either of the cells are then cleared/deleted, I want the original formulas to come back and show the £100, 0% that was originally calculated.
I know it's possible with VBA, I just don't know how!