Hello,
I am new to this forum and i am having issues with adding the value of the next cell to the negative value of the previous cell.
Cell values are dynamic and not always in order. Is there an excel or vba command to get the value of positive numbers and
add it on the negative value to make it positive and rebalance?
<tbody>
</tbody>
if checked the total amount of negative values is equal to -3088
now I did rebalance it by adding the value of the positive amounts from left to right.
The total value of the positive amounts is also 3088. Now after rebalance there's no more negative values.
Do i have to write a function for this or a simple loop will do the trick?
I am new to this forum and i am having issues with adding the value of the next cell to the negative value of the previous cell.
Cell values are dynamic and not always in order. Is there an excel or vba command to get the value of positive numbers and
add it on the negative value to make it positive and rebalance?
123 | 456 | 789 | 1011 | 123 | description |
1000 | 200 | 1888 | -2088 | -1000 | dynamic amount |
from | to | amount | |||
123 | 1011 | 1000 | |||
456 | 1011 | 200 | |||
789 | 1011 | 888 | |||
789 | 1213 | 1000 |
<tbody>
</tbody>
if checked the total amount of negative values is equal to -3088
now I did rebalance it by adding the value of the positive amounts from left to right.
The total value of the positive amounts is also 3088. Now after rebalance there's no more negative values.
Do i have to write a function for this or a simple loop will do the trick?