Using LOOKUP over multiple sheets

tmd63

New Member
Joined
Feb 21, 2014
Messages
40
Office Version
  1. 2013
  2. 2003 or older
Platform
  1. Windows
I have a multi-sheet workbook which has some sheets called Week1 Week2 etc.
I also have a sheet with a range of dates in column AB4 to AB35

In the worksheet Week1 etc, I have dates stored in row B5 to H5.
I have a named range called "SheetList" which contains the names of the worksheets Week1 to Week53.
I need to search B5 to H5 row to find a match with the value in AB4 to AB35 and if a match is found, I want to copy B7 to AC4, B8 to AD4 etc, all the way to B11 into AG4

I attempted to use a modified version of the following code:
Code:
=VLOOKUP(A4,INDIRECT("'"&INDEX(SheetList,MATCH(1,--(COUNTIF(INDIRECT("'"&SheetList&"'!$A$1:$c$4"),A4)>0),0))&"'!$A$1:$c$4"),2,FALSE)

But it just returned #N/A instead of the correct values.

I heard that LOOKUP is better than VLOOKUP or HLOOKUP. How do I use LOOKUP to find each cell value as described above?
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Just to be clear, I am working this using Excel 2003.
I want this to be workable using functions in cells and NOT VBA.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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