Copy if match from another workbook

hubba

Board Regular
Joined
Jun 21, 2005
Messages
104
Hi All,
Been trying to do the following,
I have a workbook called RollerTemplate and I would like to set up the other workbooks to check this RollerTemplate workbook when the macro is run. The template has about 1500 entries in the Columns, Column A would be the Matching Column and then Columns B to F would have the data needed to be copied across in to the other workbooks.

Basically the other work books are quotes for products, I am wanting it to run a macro against column D12 to D24 this would MATCH these part numbers against the template workbook in Column A then it would copy the data in to J13 to N13 from Columns B1 to F1 where the match is located.

Also would like it in a Button, but i think i just need to copy the macro in to the button properties?

Have tried MATCH and a few others but can not get it to work.

Thanks
Hubba
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi
vlookup can help you.
J13 = vlookup(D13, [rollertemplate.xls]sheet1!$A$1:$a$1500,2,FALSE)
K13 = vlookup(D13, [rollertemplate.xls]sheet1!$A$1:$a$1500,3,FALSE)
L13 = vlookup(D13, [rollertemplate.xls]sheet1!$A$1:$a$1500,4,FALSE)
Extend 2,3,4 upto 6(N13).
Ravi
 
Upvote 0

Forum statistics

Threads
1,222,383
Messages
6,165,661
Members
451,983
Latest member
Raph24

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