Hi all!
A team I work with sends us reports that we want to put in a database, unfortunately the data for one entry is on multiple lines and it had data that was uneeded. I figured out how to delete the unneeded data and get rid of the blank spaces, just having trouble with the last part which is copying the data in every other row, pasting it in the previous row then deleting the copied row. Fig.1 is what I have currently, I want my data to look like Fig.2.
I found the following code, but don't know how I could make this work for x amount of rows or my range:
![]()
Set Rng = Range("B7") Range(Rng.Address).Offset(-1, 0).Value = Rng.Value
Fig.1
dataR1 data11 data12 data13 data14 data15 data16 dataR2 data21 data22 data23 data24 data25 data26 dataR3 data31 data32 data33 data34 data35 data36
Fig.2
dataR1 data11 data12 data13 data14 data15
dataR2 data21 data22 data23 data24 data25
dataR3 data31 data32 data33 data34 data35
Any help would be greatly appreciated!
Bookmarks