Using a cells contents to lookup into another workbooks worksheets

jdhfch

Board Regular
Joined
Jan 25, 2018
Messages
69
Office Version
  1. 365
Platform
  1. Windows
Hi,

I don't even know if this is possible?
I am wanting to create an excel document that uses the contents of a cell to decide which worksheet in another workbook to lookup to.

Basically, it would look something like this:

SKUOrder NoWorkbook nameOrders before this order
11234Test 1245
21547Test 2564

So, in the first instance, In line 1, I am want to do a lookup using SKU 1 in the other workbook ( in the source file, each SKU will have its own worksheet).

I am then wanting to count how far down the queue they are (they will be in date order). The user will add in the SKU details and order no. The Workbook name can be done easily using vlookup, its the orders before this order that I don't know how to do - and this is the one linked to the SKU worksheet which is changeable

Please can anyone help?
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,214,391
Messages
6,119,247
Members
448,879
Latest member
oksanana

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