If, Then, Copy, Paste, Next Loop
Hi Everyone!
I have a spreadsheet with survey results. One question has an "other" option. If the survey taker chose other, column P gets an "X" in it and what they filled in comes up in column Q.
So, I want to do the following: If P2 = "X", then offset 1 (to Q2), copy contents of Q2, paste over P2, else check P3 -- loop until P# is blank.
My columns will always be constant, but the row count depends on the number of survey responses received and I do not want to have to make adjustments manually for the fluctuation in row count.
ALSO, since I always want it ALL...after the loop is complete, I want to select all the rows and copy and append the copied rows to another worksheet which which will have all the results collected for the year on it. Since the number of rows can fluctuate month to month, how do I automatically select all the active rows in worksheet one, and how do I get them pasted to the next blank row in worksheet two?
Thank you!
Laura
|