Using Vlookup or Index/Match across 2 workbooks

DataKnight

New Member
Joined
Mar 14, 2024
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
  2. Mobile
  3. Web
Hello
Struggling to get a Vlookup or an Index with Match to lookup a table of data in one workbook and get any corrresponding data from the other.

I have a list of products in my first workbook which has monthly units sold in it. The second workbook has a manually copied Pivot Table of summarised BOM movements for products ie pasted as values. This 'table' only has a few products in it.

Both workbooks have data extracted via ODBC from our accounting software.

I need to search for products that match in both tables and add the quantities used from the second workbook table into a column in the first workbook.

Vlookup seemed to work except that I get n/a in the rows that don't match which is not visually very pretty and I couldn't work out how to get rid of those :)
I tried to use the MS suggested Index with embedded Match but couldn't make any sense of it and it didn't seem to like working across workbooks.

Any help/pointers gratefully received.
Thanks
DK.
 

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
Think I've sorted it now.....
Excel Formula:
=IF(ISNA(VLOOKUP(A4,'[ODBC CSP Products Sold with BOM Movements.xlsx]BOMUse'!$L$24:$M$39,2,0)),0,VLOOKUP(A4,'[ODBC CSP Products Sold with BOM Movements.xlsx]BOMUse'!$L$24:$M$39,2,0))
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,111
Members
453,021
Latest member
Justyna P

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