Hi all,
I have a project where I need to cycle through the number of rows to sum and which rows need summing.
For example, if column G has six values in it, I want it to first look for single row that equal zero and delete them. After that, I want it to look at any two rows that when added equal zero, e.g. G1+G(2->6) then G2+G(3->6). If that doesn't work, I want it to look at three rows, e.g. G1+G2+G(3->6), G1+G3+G(4->6), etc, etc.
I'm having a really hard time with the logic for this; everything I write duplicates the calc's or skips rows, etc. Does anyone have any code that already does something like this?
Thanks!
Chris
Bookmarks