I have two columns (C and D) in Sheet1.
I need to copy the range in Column D (Range D10:D29) to another worksheet (Sheet2) if the value in Column C (Range C10:C29) exceeds 0.
For example, if the value of C10 is 1, then the data in D10 is copied to Sheet2 (probably in A1 perhaps), then checks the value of the next row C11, if it is greater than 0, then the data in D11 is copied to Sheet2 A2.
However, if C12 is 0, then then the data in D12 is NOT COPIED. If the next row C13 is greater than 0 then the data in D13 is copied to Sheet2 A3, and so on.
Can you help me get started?
I need to copy the range in Column D (Range D10:D29) to another worksheet (Sheet2) if the value in Column C (Range C10:C29) exceeds 0.
For example, if the value of C10 is 1, then the data in D10 is copied to Sheet2 (probably in A1 perhaps), then checks the value of the next row C11, if it is greater than 0, then the data in D11 is copied to Sheet2 A2.
However, if C12 is 0, then then the data in D12 is NOT COPIED. If the next row C13 is greater than 0 then the data in D13 is copied to Sheet2 A3, and so on.
Can you help me get started?