Jed Shields
Active Member
- Joined
- Sep 7, 2011
- Messages
- 283
- Office Version
- 365
- Platform
- Windows
Hi guys,
I've got a row of simple vlookup formulae looking at a seperate workbooks. Instead of having each formula differing by the name of the workbook eg:
D:\Database 201101Jan, D:\Database201102Feb etc
I'd like to be able to have a standard formula and reference the specific name difference based on column headings eg:
201101Jan, 201102Feb etc
If 201101Jan was in B1, 201102Feb was in C1 I want the formula to be something like this:
B2: vlookup(A2,'D:\[Database&B1]Sheet1'!A:C,2,FALSE)
C2: vlookup(A2,'D:\[Database&C1]Sheet1'!A:C,2,FALSE)
This obviously doesn't work otherwise I wouldn't be posting Any ideas on the correct syntax?
Cheers,
Jed.
I've got a row of simple vlookup formulae looking at a seperate workbooks. Instead of having each formula differing by the name of the workbook eg:
D:\Database 201101Jan, D:\Database201102Feb etc
I'd like to be able to have a standard formula and reference the specific name difference based on column headings eg:
201101Jan, 201102Feb etc
If 201101Jan was in B1, 201102Feb was in C1 I want the formula to be something like this:
B2: vlookup(A2,'D:\[Database&B1]Sheet1'!A:C,2,FALSE)
C2: vlookup(A2,'D:\[Database&C1]Sheet1'!A:C,2,FALSE)
This obviously doesn't work otherwise I wouldn't be posting Any ideas on the correct syntax?
Cheers,
Jed.