Hi everyone,
This is my first question on the forum so please be gentle with me!
I need to create a macro that is similar to ones that I've seen on this forum - I want it to insert rows below an existing row of data and then copy and paste data from the existing row into each of the new empty rows. However, the number of new rows required is determined by the number present in a certain cell (F1) of the existing row. So if the number in F1 is 5, then I need the macro to insert 4 new rows and copy and paste exactly the same data, resulting in 5 rows containing exaclty the same data. Then I want the macro to move on to the next unique row and repeat the process. But if F1 in the next unique row = 1, then I want the macro to ignore that row and move on. In the worksheet I'm using the number in F1 changes for every row. I need the marco to go through a worksheet with about 1000 different rows.
I hope that makes sense?
I've attached an small example of the worksheet I'm using. There are 2 tabs, the first tab called 'data' is the raw data, the second tab called 'sorted' is basically what I want the macro to do.
Any help/tips would be greatly appreciated.
Bookmarks