VLookUp help!

n9uns

Board Regular
Joined
Sep 10, 2013
Messages
67
Hi all,

I have a scenario that I would greatly appreciate some help with.

- Can't use a simple VLOOKUP to get what I need because the name of the file is always changing as it includes a date. (ex: Activity MM-DD-YY.xlsx; where the MM-DD-YY is changing everyday)

- I have a CONCATENATE function in cell I1 that contains TEXT(WORKDAY(TODAY),1),"MM-DD-YY") to generate the date of the file that I need to reference for my VLOOKUP

Question is, how do I include cell I8, as the source of my VLOOKUP result, into my VLOOKUP? =VLOOKUP(A4,I8$A:$E,2,false) Hope this makes sense....
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi,

You don't appear to have a sheet name in that vlookup or in I8 so I used sheet1. Try this

=VLOOKUP(A4,INDIRECT("'[" & I8 & "]Sheet1'!$A$1:$E$23"),2,FALSE)

or for full columns which for speed you should avoid.


=VLOOKUP(A4,INDIRECT("'[" & I8 & "]Sheet1'!A:E"),2,FALSE)
 
Upvote 0
Hi Mike LH, thank you for the quick response. Let's just name it Sheet1 for now...

I tried the first lookup formula you had suggested but it's returning a #REF error for me. I'm thinking it has to do with the link that I8 is returning.

I8 = C:\Server\Folder\Subfolder\SubfolderA\SubfolderB\FILE.xlsb

I tried removing C:\Server\Folder\Subfolder\SubfolderA\SubfolderB\FILENAME.xlsb from the CONCATENATE function and just having I8 read FILENAME.xlsb but that didn't work either...

Thanks!
 
Upvote 0
The question should be how do I include cell I1 (cell that includes the CONCATENATE formula) into my VLOOKUP.
 
Upvote 0

Forum statistics

Threads
1,203,491
Messages
6,055,727
Members
444,814
Latest member
AutomateDifficulty

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