This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
How do I add the Total of A and delete all the negative values in A until the Total is positive? In the example below it would delete the first two -16:
It would then look like this
Is there a reason why you deleted -16 on your example? Should the total be based in the order of adding per row number?
An iterative macro solution would work,
It can delete any number as long as the total is positive, but I thought of it as a loop.