vba for index match and return between workbooks

TikuniZobri

New Member
Joined
Jul 19, 2023
Messages
1
Office Version
  1. 2007
Platform
  1. Windows
Hi folks. I only know the very basics to search and match on one sheet. What I need is to search match and return across two workbooks. I have the index of inventory and a customer order.
I need a macro to pull the item# when the file# match with the index. To make it more complicated, there are many index's by category (as seen in the image, this number is for electronics, but there's furniture, cookware, etc). So the macro has to first find the corresponding #Index using the value of the Order#, and then match the two file### to populate the item order.

Using excel 2003 at home, but need it to function with 2019 at work (fictional for both would be even better so I can tweak it from home). Many thanks for any assistance.

1689862421973.png
 

Attachments

  • 1689860099286.png
    1689860099286.png
    74.3 KB · Views: 5
  • 1689862185168.png
    1689862185168.png
    58.4 KB · Views: 6

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
I suggest you merge all your reference files together into one workbook before you start.
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,043
Members
449,092
Latest member
ikke

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