HarryPrice
New Member
- Joined
- Oct 4, 2014
- Messages
- 3
Evening All,
I have a large pricing spreadsheet with a 'results' sheet that schedules each item and their respective quantities / unit rate / total cost. The number of items is a dynamic range and the results sheet is currently created using a userform.
What I'm trying to do is allow the user to over-write certain rates and increase/decrease them as they see fit - but I'd like all other rates to increase/decrease by the necessary amount to ensure the sum of all the costs remains constant.
The formula itself is fairly straightforward - but I would like to add in some VBA code to automatically amend the formulae upon a cell change. Obviously all cells would have to be updated each time the user over-writes a rate - and to be honest I haven't a clue where to start with this...
Hope that all makes sense!
Can anybody offer any guidance?
Thanks in advance
I have a large pricing spreadsheet with a 'results' sheet that schedules each item and their respective quantities / unit rate / total cost. The number of items is a dynamic range and the results sheet is currently created using a userform.
What I'm trying to do is allow the user to over-write certain rates and increase/decrease them as they see fit - but I'd like all other rates to increase/decrease by the necessary amount to ensure the sum of all the costs remains constant.
The formula itself is fairly straightforward - but I would like to add in some VBA code to automatically amend the formulae upon a cell change. Obviously all cells would have to be updated each time the user over-writes a rate - and to be honest I haven't a clue where to start with this...
Hope that all makes sense!
Can anybody offer any guidance?
Thanks in advance