Hello all,
I have a spreadsheet that uses both Vlookup and Index to pull information from other spreadsheets. I reference the file name in order to do so:
Example being
=INDEX('P:\Documents\Accounting\Financials\08-09\Claims Reports\08 August 2008\[SDAO Monthly Reports.xls]Report 1'!$I:$I,MATCH(+A7 & +B7,'P:\Documents\Accounting\Financials\08-09\Claims Reports\08 August 2008\[SDAO Monthly Reports.xls]Report 1'!$B$1:$B$200 & 'P:\Documents\Accounting\Financials\08-09\Claims Reports\08 August 2008\[SDAO Monthly Reports.xls]Report 1'!$C$1:$C$200,0))
My issue is the "08 August 2008" will need to be "09 September 2008" the following month for this spreadsheet. A way to do it is to simply find and replace as needed. But I thought maybe an easier way would be....
Assign C1 to be 'P:\Documents\Accounting\Financials\08-09\Claims Reports\
Assign D1 to be 08 August 2008
Asisgn E1 to be \[SDAO Monthly Reports.xls]Report 1'!$I:$I
Then each month I would simply change D1.
My new formula (that DOES NOT work) is
=INDEX(CONCATENATE(TEXT("'"&C1&D1&E1,0)),MATCH(+A6 & +B6,'P:\Documents\Accounting\Financials\08-09\Claims Reports\08 August 2008\[SDAO Monthly Reports.xls]Report 1'!$B$1:$B$200 & 'P:\Documents\Accounting\Financials\08-09\Claims Reports\08 August 2008\[SDAO Monthly Reports.xls]Report 1'!$C$1:$C$200,0))
or
=INDEX(CONCATENATE("'"&C1&D1&E1),MATCH(+A6 & +B6,'P:\Documents\Accounting\Financials\08-09\Claims Reports\08 August 2008\[SDAO Monthly Reports.xls]Report 1'!$B$1:$B$200 & 'P:\Documents\Accounting\Financials\08-09\Claims Reports\08 August 2008\[SDAO Monthly Reports.xls]Report 1'!$C$1:$C$200,0))
or
=INDEX(CONCATENATE(TEXT("'"&$C$1:$E$1,0)),MATCH(+A6 & +B6,'P:\Documents\Accounting\Financials\08-09\Claims Reports\08 August 2008\[SDAO Monthly Reports.xls]Report 1'!$B$1:$B$200 & 'P:\Documents\Accounting\Financials\08-09\Claims Reports\08 August 2008\[SDAO Monthly Reports.xls]Report 1'!$C$1:$C$200,0))
None of these work. Any suggestions?
Bookmarks