HELP: Insert New Emty Row after comparing lists

oliverways

New Member
Joined
Aug 19, 2011
Messages
1
I was wondering if there's anyone to help me out to write a macro to compare two lists on two different sheets, on sheet1 there's the incomplete list but with ordered data and on sheet2 is the complete list with static data(they are always like this and do never change), so what i wanna do is to add an empty row on sheet1 in the corrispondence of missing data.

my initial situation would be like this:

list1 list2
1 1
2 2
3 3
4 4
7 5
8 6
9 7
8
9
10


and i want to obtain the following result by modifying (inserting new empty row) list1 on sheet1:

list1 list2
1 1
2 2
3 3
4 4
5
6
7 7
8 8
9 9
10

i'd appreciate very much if some one could help me, thanks in advance to everyone! i'm new on this macro's world!:)
 
Last edited:

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top