Macro Needed To Compare two list and copy data to another Sheet

anappleuser

New Member
Joined
Aug 5, 2014
Messages
9
Hi Guys,

I need a macro which can do following thing.

Sheet1 Sheet2Results in Sheet3
Column AColumn BColumn CColumn DColumn EColumn AColumn AColumn BColumn CColumn DColumn E
AAXXXXAAAAXXXX
AAXXXXYYAAXXXX
CCXXXXXXDDXXXX
DDXXXXDDDDxxxx
DDxxxxFFDDxxxx
DDxxxxPP
1. Match names available in Sheet2 with Sheet1 values available in Coloumn A
2. For each sheet2 name matching with name in sheet1 than copy those all matching rows from sheet 1 to sheet 3

<colgroup><col span="17"></colgroup><tbody>
</tbody>

There are around 20000 values in sheet1. and sheet2 will have values around 2000. So how can i do this thing using macro.

Please Help.

Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,216,066
Messages
6,128,571
Members
449,458
Latest member
gillmit

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