Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=vlookup(A1,Indirect("'[Text(Today(),"mmm_")&B1&".xls]Sheet1'!A1:B200"),2,Fa
lse) Where B1 contains the company name. [Jan_ABCCORP.xls]Sheet1!A1:B200 might be an example reference. Jan_ABCCORP.xls must be open for this to work. -- Regards, Tom Ogilvy shaharul wrote in message ... can somebody help me with creating a variable lookup formula in VBA with the table array referring to various workbooks depending on the months and company to be extracted from. i have try to work it out but all sort of errors come out. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLookup Variable Offset | Excel Discussion (Misc queries) | |||
Vlookup using a variable for the workbook name | Excel Discussion (Misc queries) | |||
Vlookup - Variable look_up value? | Excel Discussion (Misc queries) | |||
vlookup with variable col_index_num | Excel Worksheet Functions | |||
Variable col_index_num in vlookup | Excel Discussion (Misc queries) |