Macro For Lookup and Copy ?

chorline

New Member
Joined
Jul 25, 2011
Messages
1
Hello all. I'm usually pretty good about piecing together VB scripts / macros to get what I need compiled but I'm at a loss and am hoping I can find help here. I have a large Excel file, one sheet (named 1-966) contains 6 columns of information with column A containing serial numbers. The second sheet (named lookup) contains a list of serial numbers in column B that should match up to some of the serial numbers in column A of sheet 1-966. The "advanced" portion is, if the serial numbers from the 'lookup' sheet are found in column A of sheet '1-966' I need that whole row that contains the matched data (columns, A,B,C,E,F and F) from sheet '1-966' to be copied to either a new sheet or to the 'lookup' sheet.

Basically, the 'lookup' sheet contains lost serial numbers of items whereas sheet 1-966 contains a master list of serial numbers in column A along with shipping dates, locations, tracking numbers, etc in columns B,C,D,E and F... this data needs to be exported to a separate sheet for analysis.

Thanks so much in advance.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,224,522
Messages
6,179,293
Members
452,902
Latest member
Knuddeluff

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