Forum Discussion
move data
Hi. Any help will be appreciated. I need to move data on multiple rows into one row to create a mail merge. Each customer has anywhere from 2 to 6 rows of data with 5 columns being the data I need. The rest is repeated identification data. I need to move the data from 5 of the cells in each row into the first row with that has customers id. So I need excel to identify if the next row is the same customer, move the data if true, then delete the row it moved the data from.
I can move it with "if" and "offset", but I don't know how to make the formula move to the next row after its captured the 5 cells I need unless I manually change it which will take forever. For example, once a drag the formula 5 cells, I need the "if" command to change from comparing A2=A3 to A2=A4. I would also like to delete the row once the data has been moved which I don't know how to do unless I search for a VBA command.
Not sure if I'm on the right track or if I am making it too complex.
I am not great with pivot tables but could figure that out as long as it works with the mail merge. I have not worked with them very much and don't want to try it unless I am sure it would work.
Thanks for any help.
4 Replies
- wumoladIron Contributor
It's difficult to envisage what you are trying to achieve without a visual representation.
Are you able to share sample data to facilitate an easier solution?
Cheers
- robscheergerCopper Contributor
I will post an example shortly after I disguise the data. Thank for the suggestion
- wumoladIron Contributor