Hello,
I'm looking to reference an array in a closed workbook as a part of an index match function. I've got the following hard coded function to work:
=INDEX('C:\Users\owner\Documents\1.1.1\[CAP 1.1.1-REPLAN.xlsx]CAP'!$1:$1048576,MATCH(E5,'C:\Users\owner\Documents\1.1.1\[CAP 1.1.1-REPLAN.xlsx]CAP'!$5:$5,0),6)
I want to have the file paths (arrays) be dynamic and look at a cell. For example:
=INDEX(A6,MATCH("value to lookup",A6,0),6)
Though despite all my best efforts (I consider myself advanced) I cannot seem to get the reference to work. I seems like there is an extra set of quotes that are being inserted that are throwing it off. I.e., the true text is being lost and therefore the file path.
How can I format the reference cell (i.e., A6) to appear as an array for the INDEX MATCH combo? Perhaps the solution lies in formatting the array part of INDEX (I've tried CELL, ADDRESS, INDIRECT).
I thank you in advance. The users here are amazing and I look forward to your response. Please let me know if I'm being unclear or if you have any questions.
I'm looking to reference an array in a closed workbook as a part of an index match function. I've got the following hard coded function to work:
=INDEX('C:\Users\owner\Documents\1.1.1\[CAP 1.1.1-REPLAN.xlsx]CAP'!$1:$1048576,MATCH(E5,'C:\Users\owner\Documents\1.1.1\[CAP 1.1.1-REPLAN.xlsx]CAP'!$5:$5,0),6)
I want to have the file paths (arrays) be dynamic and look at a cell. For example:
=INDEX(A6,MATCH("value to lookup",A6,0),6)
Though despite all my best efforts (I consider myself advanced) I cannot seem to get the reference to work. I seems like there is an extra set of quotes that are being inserted that are throwing it off. I.e., the true text is being lost and therefore the file path.
How can I format the reference cell (i.e., A6) to appear as an array for the INDEX MATCH combo? Perhaps the solution lies in formatting the array part of INDEX (I've tried CELL, ADDRESS, INDIRECT).
I thank you in advance. The users here are amazing and I look forward to your response. Please let me know if I'm being unclear or if you have any questions.