Hi I am a little stuck with attempting to loop through a list of rows in excel.
With my data below I would like to loop though all the rows and then if certain columns are not blank, copy and loop through.
Using my table below i would like to look at row 1 and then loop through each value in col D to G.
If the column has a value, copy col A to C into a new row and add the first item in the loop(D in this case) then do this for the rest (E to G).
I should also note that I do have it working to loop through all of ColA down until the colA is blank.
What I am stuck on is how to select those rows. How would I select and loop through these values and then how do i move the row(including my new selection row) to the next.
Ie. Row 1 ---- loop through all values in Row 1 col D to G then move to Row 2 and loop through col D to G in row 2?
Thanks.
ColA ColB ColC ColD ColE ColF ColG aaa ddd gg hh h bbb eee dd ccc fff hh jj ddd ggg ee s eee hhh ff ff ff
Bookmarks