Good Day,
I've had luck in the past so I'll try again and a big thanks to everyone who's helped me before.
So, I have worksheet 1 that has data in columns A through M and worksheet 2 with data in columns A through F.
I need to be able to match the data by number in worksheet 1 & 2 on column C. The kicker is I need to be able to insert worksheet 2 data into worksheet 1 and shift all data down for that match by rows. And for every match after that. Example:
Worksheet 1
[TABLE="width: 904"]
<colgroup><col><col><col><col span="10"></colgroup><tbody>[TR]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[TD]g[/TD]
[TD]h[/TD]
[TD]i[/TD]
[TD]j[/TD]
[TD]k[/TD]
[TD]l[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xxx[/TD]
[TD]1234[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[/TR]
</tbody>[/TABLE]
Worksheet 2
[TABLE="width: 456"]
<colgroup><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]1234[/TD]
[TD]yyy[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]1234[/TD]
[TD]yyy[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]1234[/TD]
[TD]www[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[/TR]
</tbody>[/TABLE]
Desired Output
[TABLE="width: 904"]
<colgroup><col><col><col><col span="10"></colgroup><tbody>[TR]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]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
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]5678[/TD]
[TD]yyy[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]5678[/TD]
[TD]www[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Hopefully this makes sense...Each match may or may not have the same amount of rows associated with it but I just want to view the data "on top of each other" for quick reference. Also, not sure if it will affect the script but there isn't a 1 to 1 match, meaning some data in column C for both worksheets may have no matches.
If i need to explain further, please let me know and thanks again.
I've had luck in the past so I'll try again and a big thanks to everyone who's helped me before.
So, I have worksheet 1 that has data in columns A through M and worksheet 2 with data in columns A through F.
I need to be able to match the data by number in worksheet 1 & 2 on column C. The kicker is I need to be able to insert worksheet 2 data into worksheet 1 and shift all data down for that match by rows. And for every match after that. Example:
Worksheet 1
[TABLE="width: 904"]
<colgroup><col><col><col><col span="10"></colgroup><tbody>[TR]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[TD]g[/TD]
[TD]h[/TD]
[TD]i[/TD]
[TD]j[/TD]
[TD]k[/TD]
[TD]l[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xxx[/TD]
[TD]1234[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[/TR]
</tbody>[/TABLE]
Worksheet 2
[TABLE="width: 456"]
<colgroup><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]1234[/TD]
[TD]yyy[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]1234[/TD]
[TD]yyy[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]1234[/TD]
[TD]www[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[/TR]
</tbody>[/TABLE]
Desired Output
[TABLE="width: 904"]
<colgroup><col><col><col><col span="10"></colgroup><tbody>[TR]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[TD]g[/TD]
[TD]h[/TD]
[TD]i[/TD]
[TD]j[/TD]
[TD]k[/TD]
[TD]l[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xxx[/TD]
[TD]1234[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]1234[/TD]
[TD]yyy[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]1234[/TD]
[TD]yyy[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]1234[/TD]
[TD]www[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 904"]
<colgroup><col><col><col><col span="10"></colgroup><tbody>[TR]
[TD]xx[/TD]
[TD]xxx[/TD]
[TD]5678[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]5678[/TD]
[TD]yyy[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]5678[/TD]
[TD]yyy[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]xx[/TD]
[TD]xx[/TD]
[TD]5678[/TD]
[TD]www[/TD]
[TD]xxxx[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Hopefully this makes sense...Each match may or may not have the same amount of rows associated with it but I just want to view the data "on top of each other" for quick reference. Also, not sure if it will affect the script but there isn't a 1 to 1 match, meaning some data in column C for both worksheets may have no matches.
If i need to explain further, please let me know and thanks again.