Indrid_Cold
New Member
Hi all -
Very new to VBA, but I've got a particular project in mind that I'd like to accomplish.
I'm trying to allow a user to generate a table where they can play with percentages and have each percentage dynamically update when a change is made in a cell. Additionally, I would like the redistribution of the change to be weighted according to the values in the other cells. For example;
25%
25%
25%
20%
5%
___
100%
If I change the first 25% to a 10%, I would like the remaining values (25%, 25%, 20%, and 5%) to redistribute the 15% I took away, and to do it proportionate to their value (so not just 15%/4). Each time the user edits a value, the event should trigger (so I think this will be a Change event).
Thanks in advance!
Very new to VBA, but I've got a particular project in mind that I'd like to accomplish.
I'm trying to allow a user to generate a table where they can play with percentages and have each percentage dynamically update when a change is made in a cell. Additionally, I would like the redistribution of the change to be weighted according to the values in the other cells. For example;
25%
25%
25%
20%
5%
___
100%
If I change the first 25% to a 10%, I would like the remaining values (25%, 25%, 20%, and 5%) to redistribute the 15% I took away, and to do it proportionate to their value (so not just 15%/4). Each time the user edits a value, the event should trigger (so I think this will be a Change event).
Thanks in advance!