Hi,
I'm trying to figure this out but having some difficulty....
I have a Dynamic range (Range1), that looks at the numbers in AP (in this case AP18:AP23)
Starting number is the sum of Range1
Goal number is a number we're "trying" to reduce the "starting #" To!
i have a code that says: "If the numbers in Range1 are all 1 Then"
what i need to figure out is the following:
- Do until Starting# = Goal#
- "If the numbers in Range1 are all 1 Then"
- Offset 2 columns (go to the range1's column AN)
if there is a number in a cell, delete it
if not, move to the next offset and do the same.
if you move to a column and there are multiple 1s in different cells, the one appearing first should be deleted.
This process goes on until the sum of our Range1 (which is related to those numbers using a sum formula as you can see) equals our Goal#.
Did i draw a clear picture?
I'm trying to figure this out but having some difficulty....
I have a Dynamic range (Range1), that looks at the numbers in AP (in this case AP18:AP23)
Starting number is the sum of Range1
Goal number is a number we're "trying" to reduce the "starting #" To!
i have a code that says: "If the numbers in Range1 are all 1 Then"
what i need to figure out is the following:
- Do until Starting# = Goal#
- "If the numbers in Range1 are all 1 Then"
- Offset 2 columns (go to the range1's column AN)
if there is a number in a cell, delete it
if not, move to the next offset and do the same.
if you move to a column and there are multiple 1s in different cells, the one appearing first should be deleted.
This process goes on until the sum of our Range1 (which is related to those numbers using a sum formula as you can see) equals our Goal#.
Did i draw a clear picture?