Doghouse308
New Member
- Joined
- May 28, 2019
- Messages
- 13
As the title suggests, I would like to know if it is possible to use a variable in a formula.
The specific application may also have other solutions.
I am trying to bring in data from an external workbook. I am currently using an index/match formula to select the data to import.
example below
I would like to replace the reference to the other workbook with a file path and name so this same workbook can be used without hard coding the file names.
Thank you in advance
The specific application may also have other solutions.
I am trying to bring in data from an external workbook. I am currently using an index/match formula to select the data to import.
example below
Code:
=INDEX('[Ternai-Master.xlsm]Master Schedule'!$B$2:$BZ$1017,MATCH($A3,'[Ternai-Master.xlsm]Master Schedule'!$A:$A,0),MATCH(O$2,'[Ternai-Master.xlsm]Master Schedule'!$1:$1,0)-1)
I would like to replace the reference to the other workbook with a file path and name so this same workbook can be used without hard coding the file names.
Thank you in advance