Hi guys,
I'm looking for a VBA code that does a type of multiply loop. Take a look at the attached sheet. I've changed the name of the columns b/c the letters relate to one another (A is A's pair, B is B's pair, ect) The goal is: if one of the numbers in column A (1) is greater than zero, the NEXT five numbers in the second column A (2) should be multiplied by negative one, and outputted in Y:Y. If the number in column A (1) is less than zero the next five numbers in the second column A (2) should just be outputted in Y:Y (not multiplied by negative 1). If there's no number or an N/A, the loop should just ignore these cells. The should be done with every letter pair.
Hope I'm being clear! Any help is really appreciated!
I'm looking for a VBA code that does a type of multiply loop. Take a look at the attached sheet. I've changed the name of the columns b/c the letters relate to one another (A is A's pair, B is B's pair, ect) The goal is: if one of the numbers in column A (1) is greater than zero, the NEXT five numbers in the second column A (2) should be multiplied by negative one, and outputted in Y:Y. If the number in column A (1) is less than zero the next five numbers in the second column A (2) should just be outputted in Y:Y (not multiplied by negative 1). If there's no number or an N/A, the loop should just ignore these cells. The should be done with every letter pair.
Hope I'm being clear! Any help is really appreciated!